@import url("../fonts/fonts.css");

/* Konzept: "Bogen & Streifen" – Bögen der Florida-Architektur als Bildform,
   das Ocker-Streifenmotiv aus dem Logo als Akzent, tiefes Navy und viel Weiß. */
:root {
  --ink: #1d2a35;        /* Navy aus dem Logo, Text + dunkle Flächen */
  --ochre: #c8922b;      /* Ocker aus dem Logo, Hauptakzent */
  --blush: #d1b0af;      /* Rosé, exakt aus dem Logo ausgelesen – nur dezente Akzente */
  --blush-mid: #eadbdb;  /* Rosé 45 % auf Weiß */
  --blush-soft: #f6efef; /* Rosé 20 % auf Weiß, für ruhige Flächen */
  --mist: #edf1f0;       /* kühles Golf-Grau für helle Bänder */
  --paper: #ffffff;
  --text: #24313b;
  --muted: #5f6b73;
  --line: #d9e0e2;

  /* Alias-Namen, damit ältere Seiten (Home Watch) weiter funktionieren */
  --navy: var(--ink);
  --navy-deep: var(--ink);
  --rose: var(--blush);
  --rose-soft: var(--mist);
  --cream: var(--paper);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --radius: 2px;
  --arch: 999px 999px 0 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--ochre); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7.5vw, 6.2rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { font-style: italic; color: var(--ochre); }
p { margin: 0 0 1.1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ochre);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }

/* Streifen aus dem Logo */
.stripes {
  display: block; width: 72px; height: 72px; border-radius: 50% 50% 0 50%;
  background: repeating-linear-gradient(135deg, var(--ochre) 0 5px, transparent 5px 11px);
}

.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1em 1.8em;
  font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  text-decoration: none;
  background: var(--ochre); color: var(--ink);
  border: 2px solid var(--ochre); border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--line, .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--line:hover, .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.brand span { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--ochre); }
.nav a.lang { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid var(--ink); padding: .35em .8em; border-radius: var(--radius); }
.nav a.lang:hover { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); box-shadow: 0 12px 24px rgba(29,42,53,.12);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 480px; }
  .nav a { padding: 1rem 24px; border-top: 1px solid var(--line); }
  .nav a.lang { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1rem 24px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #dfe5e9; overflow: hidden; padding-block: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: end; padding-top: clamp(3.5rem, 8vw, 6.5rem); }
.hero__text { padding-bottom: clamp(3rem, 7vw, 6rem); min-width: 0; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.2rem; max-width: 40ch; margin-bottom: 2.2rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__places { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 2.4rem; font-size: .8rem; letter-spacing: .08em; color: #9fb0bc; font-variant-numeric: tabular-nums; }
.hero__places strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; letter-spacing: 0; color: #fff; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--arch); }
.hero__media .stripes { position: absolute; left: -36px; top: 18%; width: 96px; height: 96px; }

/* ---------- Leistungsband ---------- */
.band { background: var(--ochre); color: var(--ink); padding-block: 0; }
.band ul { list-style: none; margin: 0; padding: 1.1rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem; font-weight: 600; font-size: .95rem; }
.band li { display: flex; align-items: center; gap: 1.4rem; }
.band li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

/* ---------- Allgemeine Sektionen ---------- */
section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.bg-mist, .bg-rose { background: var(--mist); }
.bg-ink, .bg-navy { background: var(--ink); color: #cdd6dc; }
.bg-ink h2, .bg-ink h3, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-paper { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* Über mich */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--arch); }
.about__media .stripes { position: absolute; right: -20px; bottom: 40px; }
.about__text { min-width: 0; }
.about__text p { max-width: 60ch; }
.signature { font-family: var(--serif); font-style: italic; font-size: 2.2rem; color: var(--ink); margin-top: 1.6rem; }

/* Philosophie: drei Begriffe */
.values { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.value { padding: 2.4rem 2rem 0 0; min-width: 0; }
.value + .value { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,.18); }
.bg-ink .value h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); font-style: italic; color: var(--ochre); margin-bottom: .8rem; }
.value p { margin: 0; }

/* Leistungen als Liste */
.services-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.services-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem; align-items: center; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.services-list svg { width: 32px; height: 32px; color: var(--ochre); }
.services-list h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.services-list p { margin: 0; color: var(--muted); }

/* Projekte: Mosaik */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; grid-column: span 2; border-radius: var(--radius); background: var(--mist); }
.gallery figure.lg { grid-column: span 4; grid-row: span 2; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.w4 { grid-column: span 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px);
  background: var(--ink); color: #fff; font-size: .8rem; line-height: 1.4; padding: .35rem .7rem; border-radius: var(--radius);
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; transform: none; }
@media (hover: none) { .gallery figcaption { opacity: 1; transform: none; } }

/* Projekt-Highlight */
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.feature__text { min-width: 0; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--ochre); padding-bottom: 2px; }

/* Ausbildungen */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cert { background: var(--paper); padding: 2rem 1.5rem; min-width: 0; }
.cert img { height: 76px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 1.4rem; }
.cert h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.cert p { font-size: .88rem; color: var(--muted); margin: 0; }
.cert a { text-decoration: none; color: inherit; }

/* Zitat */
.quote { text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 900px; font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.25; color: var(--ink); }
.quote cite { display: block; margin-top: 1.4rem; font-style: normal; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ochre); }
.quote .stripes { margin: 0 auto 2rem; width: 48px; height: 48px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.contact__info { min-width: 0; }
.contact__info ul { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact__info li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact__info li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.contact__info svg { width: 22px; height: 22px; flex: none; color: var(--ochre); margin-top: 3px; }
.bg-ink .contact__info a, .bg-navy .contact__info a { color: #fff; text-decoration: none; }
.bg-ink .contact__info a:hover, .bg-navy .contact__info a:hover { color: var(--ochre); }
.bg-paper .contact__info li, .bg-mist .contact__info li, .bg-rose .contact__info li { border-color: var(--line); }
.form { background: var(--paper); color: var(--text); padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--radius); border: 1px solid var(--line); min-width: 0; }
.form label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--ink); margin-bottom: .4rem; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8rem .9rem; margin-bottom: 1.2rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ochre); }
.form textarea { min-height: 140px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-bottom: 1.4rem; }
.form .consent input { width: auto; margin: .3rem 0 0; }
.hidden { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--ink); color: #a9b6bf; padding: 4.5rem 0 2rem; font-size: .92rem; border-top: 6px solid var(--ochre); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer img { height: 84px; width: auto; margin-bottom: 1rem; background: #fff; border-radius: 50%; padding: 6px; }
.site-footer h4 { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; font-weight: 600; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #a9b6bf; text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.site-footer .bottom { padding-top: 1.6rem; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.2); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(18,27,35,.95); display: none; place-items: center; padding: 24px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 82vh; width: auto; }
.lightbox p { color: #fff; text-align: center; margin: 1rem 0 0; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 10px 18px; line-height: 1; }
.lightbox .lb-close { top: 10px; right: 10px; }
.lightbox .lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 6px; top: 50%; transform: translateY(-50%); }

/* Rechtstexte */
.legal section { padding-block: clamp(3rem, 7vw, 5rem); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); padding-bottom: 1.2rem; border-bottom: 2px solid var(--ochre); margin-bottom: 2rem; }
.legal h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.legal h3 { font-size: 1.3rem; margin-top: 1.6rem; }
.legal p, .legal li { font-size: 1rem; }

/* Einblenden */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .certs { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; }
  .gallery figure.lg { grid-column: span 4; }
}
@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 3rem; }
  .hero__text { padding-bottom: 0; }
  .hero__media { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero__media .stripes { left: -12px; width: 64px; height: 64px; }
  .about, .feature, .contact { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .about__media .stripes { right: -8px; }
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 1.8rem 0; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .services-list li { grid-template-columns: 40px minmax(0, 1fr); }
  .services-list li p { grid-column: 2; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery figure, .gallery figure.lg, .gallery figure.w4 { grid-column: span 2; }
  .certs { grid-template-columns: 1fr; }
  .brand span { display: none; }
}
