@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300 500; font-display: swap;
  src: url("fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/karla-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("fonts/karla-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Layout: ruhige Galerie-Wand, Inhalte in einer schmalen Spalte, Bilder im Raster */
:root {
  --bg: #eef0ec;
  --surface: #ffffff;
  --ink: #23272a;
  --muted: #5d6662;
  --accent: #2f5d50;
  --brass: #a8823a;
  --line: #d6dbd5;
  --tile-a: #c9d5cc;
  --tile-b: #dccfb4;
  --tile-c: #b9c6cf;
  --font-display: "Futura Bk BT", "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171b1a; --surface: #202624; --ink: #e8ebe7; --muted: #a3ada8;
    --accent: #8cc2ae; --brass: #d4b06a; --line: #333b38;
    --tile-a: #2e3d36; --tile-b: #40392a; --tile-c: #2c3740;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #171b1a; --surface: #202624; --ink: #e8ebe7; --muted: #a3ada8;
  --accent: #8cc2ae; --brass: #d4b06a; --line: #333b38;
  --tile-a: #2e3d36; --tile-b: #40392a; --tile-c: #2c3740;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Kopf */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 2rem; padding-block: 1.25rem;
}
.logo {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; letter-spacing: 0.03em;
  color: var(--ink); text-decoration: none;
}
.logo span { color: var(--brass); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.nav a:hover { color: var(--accent); }

/* Einstieg */
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center;
  padding-block: 4rem 3.5rem;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; margin: 0 0 1.25rem;
  text-wrap: balance;
}
.hero p { color: var(--muted); max-width: 32rem; margin: 0 0 1.75rem; }
.eyebrow {
  display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--brass); margin-bottom: 0.75rem;
}
.button {
  display: inline-block; padding: 0.8rem 1.6rem; border: 1px solid var(--accent);
  color: var(--accent); text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.82rem;
}
.button:hover { background: var(--accent); color: var(--bg); }

/* Bilderrahmen: Platzhalter, bis echte Fotos eingesetzt werden */
.frame {
  background: var(--surface); padding: 0.75rem; border: 1px solid var(--line);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.35);
}
.photo {
  aspect-ratio: 4 / 5; max-width: 100%;
  display: grid; place-items: end start; padding: 0.75rem;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.a { background: linear-gradient(160deg, var(--tile-a), var(--tile-b)); }
.photo.b { background: linear-gradient(200deg, var(--tile-b), var(--tile-c)); }
.photo.c { background: linear-gradient(120deg, var(--tile-c), var(--tile-a)); }

/* Abschnitte */
section { border-top: 1px solid var(--line); }
section > .wrap { padding-block: 3.5rem; }
h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 1.5rem; line-height: 1.1; text-wrap: balance;
}
.lead { max-width: 40rem; color: var(--muted); margin: 0 0 2.5rem; }

.range { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.range article { border-top: 2px solid var(--brass); padding-top: 1rem; min-width: 0; }
.range h3 { font-size: 1.05rem; margin: 0 0 0.4rem; }
.range p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery figure { margin: 0; }
.gallery .photo { aspect-ratio: 1 / 1; }
.gallery figcaption { font-size: 0.85rem; color: var(--muted); padding-top: 0.5rem; }

.about .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.about p { margin: 0 0 1rem; max-width: 38rem; }

.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.visit div { min-width: 0; }
.visit h3 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brass);
  margin: 0 0 0.6rem; font-weight: 500;
}
.visit p { margin: 0; }
.hours { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 0.1rem 1.25rem 0.1rem 0; }

/* Fuß */
.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
  padding-block: 1.5rem; font-size: 0.85rem; color: var(--muted);
}
.site-foot nav { display: flex; gap: 1.5rem; }

/* Rechtstexte */
.legal .wrap { max-width: 44rem; padding-block: 3rem; }
.legal h1 { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; margin: 0 0 1.5rem; }
.legal h2 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; margin: 2rem 0 0.5rem; }
.todo { background: var(--tile-b); padding: 0 0.25rem; }

@media (max-width: 860px) {
  .hero .wrap, .about .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .hero .frame { max-width: 22rem; }
  .range { grid-template-columns: repeat(2, 1fr); }
  .visit { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 520px) {
  .range, .gallery { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .range { grid-template-columns: 1fr; }
}

/* Echte Inhalte: Leitsatz, Vita, Kundenliste, Galerie-Gruppen */
.motto {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25;
  color: var(--accent); margin: 0 0 1.25rem;
}
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.5rem; }
.checks li { padding-left: 1.4rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 0.6rem; height: 1px; background: var(--brass); }
.vita { list-style: none; padding: 0; margin: 1.5rem 0 0; border-left: 1px solid var(--line); display: grid; gap: 0.9rem; }
.vita li { padding-left: 1.25rem; position: relative; color: var(--muted); font-size: 0.95rem; }
.vita li::before { content: ""; position: absolute; left: -4px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.vita strong { color: var(--ink); font-weight: 500; }
.clients { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.clients div { min-width: 0; }
.clients h3 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brass);
  margin: 0 0 0.75rem; font-weight: 500;
}
.clients ul { list-style: none; padding: 0; margin: 0; columns: 2 14rem; column-gap: 1.5rem; }
.clients li { break-inside: avoid; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.clients li span { display: block; color: var(--muted); font-size: 0.85rem; }
.gallery-group + .gallery-group { margin-top: 2.5rem; }
.gallery-group h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 0 0 1rem; }
@media (max-width: 860px) { .clients { grid-template-columns: 1fr; } }
.photo.has-img { padding: 0; aspect-ratio: 4 / 3; }
.hero .photo.has-img { aspect-ratio: 4 / 3; }
.gallery .photo.has-img { aspect-ratio: 4 / 3; overflow: hidden; }
.photo.fit { background: var(--surface); }
.photo.fit img { object-fit: contain; }
.motto, .gallery-group h3 { font-weight: 400; }
.hero h1 { letter-spacing: -0.01em; line-height: 1.12; }

/* Diashow oben: drei Bilder blenden nacheinander über (15 Sekunden pro Durchlauf) */
.slides { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; background: var(--tile-a); }
.slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; animation: slide-fade 15s infinite both;
}
.slides img:nth-child(1) { animation-delay: -1s; }
.slides img:nth-child(2) { animation-delay: 4s; }
.slides img:nth-child(3) { animation-delay: 9s; }
@keyframes slide-fade {
  0% { opacity: 0; } 6% { opacity: 1; } 33% { opacity: 1; } 39% { opacity: 0; } 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .slides img { animation: none; }
  .slides img:first-child { opacity: 1; }
}

/* Galerie mit 5 Bildern: erstes groß, vier kleine daneben */
.gallery.five { grid-template-columns: repeat(4, 1fr); }
.gallery.five figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery.five figure:first-child .photo.has-img { aspect-ratio: auto; height: 100%; }
@media (max-width: 860px) {
  .gallery.five { grid-template-columns: 1fr 1fr; }
  .gallery.five figure:first-child { grid-row: auto; }
  .gallery.five figure:first-child .photo.has-img { aspect-ratio: 4 / 3; height: auto; }
}

.portrait { display: block; width: 100%; max-width: 18rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin-top: 0.5rem; }
