/* ==========================================================================
   Werkholm · Tischlerei in Hamburg seit 1958
   Stylesheet · Konzeptprojekt
   Klassisch und ruhig für ein älteres, anspruchsvolles Publikum:
   Marine, Elfenbein, Messing · Bodoni Moda + Libre Franklin · große Schrift,
   klare Beschriftungen, keine Scroll-Effekte.
   --------------------------------------------------------------------------
   1. Schriften & Farben   4. Kopfzeile & Menü   7. Arbeiten & Werkstatt
   2. Grundlagen           5. Einstieg & Haltung 8. Ablauf & Stimmen
   3. Bausteine            6. Leistungen         9. Kontakt, Fußzeile, Dialoge
                                                10. Responsive
   ========================================================================== */

/* 1. Schriften (selbst gehostet, OFL) & Farben ----------------------------- */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Franklin";
  src: url("../fonts/libre-franklin-var-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #F6F1E7;        /* Grundton */
  --ivory-2: #EEE7DA;      /* abgesetzte Abschnitte */
  --paper: #FCFAF5;        /* Passepartout, Formular */
  --white: #FFFFFF;
  --navy: #1C2636;         /* Hanseatisches Marine: Schrift und dunkle Flächen */
  --navy-2: #2A3650;
  --slate: #4F5A6B;        /* Fließtext zweite Ebene (6:1 auf Elfenbein) */
  --slate-2: #626D7E;      /* Bildunterschriften (4,6:1) */
  --brass: #A6865A;        /* Messing: Linien, Ziffern */
  --brass-ink: #7E6236;    /* Messing für kleine Schrift (5:1) */
  --brass-light: #CDB48A;  /* Messing auf Marine */
  --line: rgba(28, 38, 54, .14);
  --line-strong: rgba(28, 38, 54, .3);
  --on-navy: #F3EEE4;
  --on-navy-2: #BAC1CC;
  --line-navy: rgba(243, 238, 228, .18);
  --open: #2E7D4F;
  --error: #9B2C1F;

  --serif: "Bodoni Moda", Didot, "Bodoni 72", "Bodoni MT", Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --gap: clamp(20px, 3vw, 40px);
  --header-h: 96px;
  color-scheme: light;
}

/* 2. Grundlagen -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ivory);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.1875rem;          /* 19 px: gut lesbar, auch mit Lesebrille */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }
::selection { background: var(--brass-light); color: var(--navy); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
[hidden] { display: none !important; }
[tabindex="-1"]:focus { outline: none; }
html[data-lang-pending] body { opacity: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 200;
  padding: 12px 16px;
  background: var(--navy); color: var(--on-navy); text-decoration: none;
}
.skip:focus { top: 12px; }

/* 3. Bausteine ----------------------------------------------------------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.h2 em { font-style: italic; }
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  line-height: 1.15;
}

/* Kleine Überschrift mit Messinglinien links und rechts */
.label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 600;
  font-size: .78rem; line-height: 1.4;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass-ink);
}
.label::before, .label::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .55; }
.label--left::after { display: none; }
.label--light { color: var(--brass-light); }

.lead { font-size: clamp(1.15rem, 1.55vw, 1.32rem); line-height: 1.65; color: var(--slate); }
.muted { color: var(--slate-2); }
p { text-wrap: pretty; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px;
  border: 1px solid var(--navy); border-radius: 2px;
  font-family: var(--sans); font-weight: 600;
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--navy { background: var(--navy); color: var(--on-navy); }
.btn--navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn--line { background: transparent; color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--on-navy); }
.btn--brass { background: var(--brass-light); border-color: var(--brass-light); color: var(--navy); }
.btn--brass:hover { background: #DCC7A2; border-color: #DCC7A2; }
.btn--block { width: 100%; }
.btn--tel { font-size: 1.02rem; letter-spacing: .04em; text-transform: none; font-variant-numeric: lining-nums; }

/* Bild im Passepartout: dünner Rahmen wie bei einem gerahmten Foto */
.frame { margin: 0; }
.frame__img { padding: 10px; background: var(--paper); border: 1px solid var(--line-strong); }
.frame__img img { width: 100%; aspect-ratio: var(--ar, 4 / 5); object-fit: cover; }
.frame figcaption {
  margin-top: 14px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.4;
  color: var(--slate); text-align: center;
}

.section { padding-block: clamp(64px, 7vw, 104px); }
.section--alt { background: var(--ivory-2); }
.head {
  display: grid; justify-items: center; gap: 16px;
  max-width: 46rem; margin: 0 auto clamp(36px, 4.5vw, 60px);
  text-align: center;
}
.head__intro { color: var(--slate); font-size: 1.15rem; }

/* 4. Kopfzeile & Menü ------------------------------------------------------ */

.header { position: sticky; top: 0; z-index: 100; background: var(--ivory); border-bottom: 1px solid var(--line); }
.header__inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }

.nav ul { display: flex; gap: clamp(18px, 2.2vw, 32px); }
.nav a {
  display: inline-block; padding: 8px 0;
  font-size: 1rem; letter-spacing: .02em; text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav a:hover { border-bottom-color: var(--brass); }

.brand { justify-self: center; display: grid; justify-items: center; gap: 5px; text-decoration: none; text-align: center; }
.brand__word { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1; letter-spacing: .01em; }
.brand__sub { font-size: .66rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--brass-ink); }

.header__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.header__right .btn--tel { min-height: 48px; padding: 0 18px; }

.lang { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--slate-2); }
.lang button { padding: 6px 1px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.lang button:hover { color: var(--navy); }
.lang button[aria-pressed="true"] { color: var(--navy); font-weight: 600; border-bottom-color: var(--brass); }

.call-mobile, .menu-btn { display: none; }
.call-mobile {
  align-items: center; gap: 8px;
  min-height: 46px; padding: 0 14px;
  border: 1px solid var(--navy); border-radius: 2px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
}
.call-mobile svg { width: 18px; height: 18px; }
.menu-btn {
  align-items: center; gap: 12px;
  min-height: 46px; padding: 0 2px;
  font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
}
.menu-btn__lines, .menu-btn__lines::before, .menu-btn__lines::after {
  display: block; width: 22px; height: 1.5px; background: currentColor;
  transition: transform .25s, background-color .25s;
}
.menu-btn__lines { position: relative; }
.menu-btn__lines::before, .menu-btn__lines::after { content: ""; position: absolute; left: 0; }
.menu-btn__lines::before { transform: translateY(-6px); }
.menu-btn__lines::after { transform: translateY(6px); }
.menu-open .menu-btn__lines { background: transparent; }
.menu-open .menu-btn__lines::before { transform: rotate(45deg); }
.menu-open .menu-btn__lines::after { transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--menu-top, var(--header-h)) + 24px) var(--pad) calc(28px + env(safe-area-inset-bottom));
  background: var(--navy); color: var(--on-navy);
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility 0s linear .2s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .2s, visibility 0s; }
.menu__list a {
  display: block; padding: 14px 0;
  border-bottom: 1px solid var(--line-navy);
  font-family: var(--serif); font-size: clamp(1.9rem, 7.5vw, 2.6rem); line-height: 1.15;
  text-decoration: none;
}
.menu__foot { display: grid; gap: 20px; }
.menu__status { display: flex; align-items: flex-start; gap: 12px; color: var(--on-navy-2); font-size: 1.02rem; line-height: 1.5; }
.lang--menu { justify-content: center; color: var(--on-navy-2); font-size: 1.05rem; }
.lang--menu button:hover, .lang--menu button[aria-pressed="true"] { color: var(--on-navy); border-bottom-color: var(--brass-light); }

.menu-open .header { background: var(--navy); color: var(--on-navy); border-bottom-color: var(--line-navy); }
.menu-open .brand__sub { color: var(--brass-light); }
.menu-open .call-mobile { border-color: var(--on-navy); }
html.menu-open { overflow: hidden; }

/* 5. Einstieg & Haltung ---------------------------------------------------- */
.hero { padding-block: clamp(44px, 5.5vw, 76px) clamp(56px, 7vw, 96px); }
.hero__text { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.hero__text > * { max-width: 100%; }
.hero__text .label { margin-bottom: 22px; }
.hero__text .lead { max-width: 42rem; color: var(--navy); font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.hero__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(40px, 5vw, 64px); }

.statement { background: var(--navy); color: var(--on-navy); padding-block: clamp(64px, 7vw, 104px); text-align: center; }
.mark { width: 56px; height: auto; margin-inline: auto; color: var(--brass-light); }
.statement .mark { margin-bottom: 28px; }
.statement__quote { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.28; max-width: 26ch; margin-inline: auto; }
.statement__sign { margin-top: 28px; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-light); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(44px, 5vw, 68px); border-top: 1px solid var(--line-navy); }
.facts li { display: grid; gap: 8px; padding: 36px 20px 0; }
.facts li + li { border-left: 1px solid var(--line-navy); }
.facts__num { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1.05; color: var(--brass-light); }
.facts__text { color: var(--on-navy-2); font-size: 1.02rem; }

/* 6. Leistungen: Bild und Text im Wechsel --------------------------------- */
.rows { display: grid; gap: clamp(56px, 7vw, 96px); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.row__media { grid-column: 1 / span 6; --ar: 4 / 3; }
.row__text { grid-column: 8 / span 5; }
.row--rev .row__media { grid-column: 7 / span 6; grid-row: 1; }
.row--rev .row__text { grid-column: 1 / span 5; grid-row: 1; }
.row__num { margin-bottom: 10px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--brass-ink); }
.row__text .h3 { margin-bottom: 16px; }
.row__text > p { color: var(--slate); }
.ticks { margin-top: 24px; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; line-height: 1.5; }
.ticks li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55em; background: var(--brass); transform: rotate(45deg); }

/* 7. Arbeiten & Werkstatt -------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.gallery figcaption { display: grid; gap: 4px; font-style: normal; }
.gallery__title { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--navy); }
.gallery__place { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); }

.frame--wide { --ar: 2 / 1; }
.shop__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 40px; margin-top: clamp(40px, 5vw, 60px); }
.shop__text { grid-column: 1 / span 7; display: grid; gap: 1.1em; color: var(--slate); }
.dropcap::first-letter { float: left; padding: .06em .12em 0 0; font-family: var(--serif); font-size: 4.4em; line-height: .82; color: var(--brass-ink); }
.shop__visit { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--navy); }
.shop__team { grid-column: 9 / span 4; }
.team { margin-top: 18px; border-top: 1px solid var(--line-strong); }
.team div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.team dt { font-family: var(--serif); font-size: 1.35rem; }
.team dd { color: var(--slate-2); font-size: 1rem; text-align: right; }

/* 8. Ablauf & Stimmen ------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gap); }
.step { padding-top: 28px; border-top: 1px solid var(--line-strong); }
.step__num { display: block; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--brass); }
.step__title { margin: 18px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.step p { color: var(--slate); font-size: 1.05rem; }
.note {
  max-width: 46rem; margin: clamp(40px, 5vw, 56px) auto 0; padding: 26px 32px;
  background: var(--paper); border: 1px solid var(--line-strong);
  font-size: 1.1rem; line-height: 1.6; text-align: center;   /* serifenlos: das €-Zeichen bleibt klar lesbar */
}

.voices { background: var(--navy); color: var(--on-navy); padding-block: clamp(64px, 7vw, 104px); text-align: center; }
.voice blockquote { font-family: var(--serif); font-style: italic; font-weight: 400; }
.voice--main { margin-top: 32px; }
.voice--main blockquote { max-width: 30ch; margin-inline: auto; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.32; }
.voice figcaption { margin-top: 24px; font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); }
.voices__more {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(44px, 5vw, 64px); padding-top: clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--line-navy);
}
.voices__more blockquote { font-size: clamp(1.3rem, 1.9vw, 1.6rem); line-height: 1.4; }

/* 9. Kontakt, Fußzeile, Dialoge -------------------------------------------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 48px; align-items: start; }
.contact__info { grid-column: 1 / span 5; display: grid; gap: 24px; }
.contact__intro { color: var(--slate); }

.person { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.person__img { padding: 6px; }
.person__img img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 42% 30%; }
.person__label { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-ink); }
.person__name { margin-top: 4px; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.person__text { color: var(--slate-2); font-size: 1rem; }

.contact__phone { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; text-decoration: none; transition: color .2s; }
.contact__phone:hover { color: var(--brass-ink); }
.contact__status { display: flex; align-items: flex-start; gap: 12px; color: var(--slate); font-size: 1.02rem; line-height: 1.55; }
.status__dot { flex: none; width: 9px; height: 9px; margin-top: .55em; border-radius: 50%; background: var(--slate-2); }
.is-open .status__dot { background: var(--open); box-shadow: 0 0 0 4px rgba(46, 125, 79, .18); }

.details { border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details dt { padding-top: .4em; font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); }
.details dd { font-size: 1.05rem; line-height: 1.6; }
.details a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

.contact__form { grid-column: 7 / span 6; }
.form { display: grid; gap: 24px; padding: clamp(28px, 4vw, 52px); background: var(--paper); border: 1px solid var(--line-strong); }
.form__title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.15; }
.form__lead { margin-top: -12px; color: var(--slate); }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-weight: 600; font-size: 1.02rem; color: var(--navy); }
.field > legend { margin-bottom: 8px; }
.opt { margin-left: 4px; font-weight: 400; font-size: .92rem; color: var(--slate-2); }
.opt::before { content: "("; }
.opt::after { content: ")"; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 56px; padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--white);
  font-size: 1.12rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 132px; resize: vertical; }
.field textarea::placeholder { color: var(--slate-2); opacity: .9; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(166, 134, 90, .4); }
.has-error input, .has-error textarea { border-color: var(--error); box-shadow: 0 0 0 2px rgba(155, 44, 31, .15); }
.field__error { color: var(--error); font-size: 1rem; line-height: 1.45; }
.field__error:empty { display: none; }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice span { width: 100%; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px;
  border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--white); font-size: 1.05rem;
  transition: border-color .2s, background-color .2s;
}
.choice span::before { content: ""; flex: none; width: 16px; height: 16px; border: 1px solid var(--slate-2); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--white); }
.choice:hover span { border-color: var(--navy); }
.choice input:checked + span { border-color: var(--navy); background: var(--ivory); }
.choice input:checked + span::before { background: var(--navy); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }

.check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 1rem; line-height: 1.55; color: var(--slate); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--slate-2); border-radius: 2px; background: var(--white); }
.check__box::after { content: ""; width: 12px; height: 7px; margin-top: -3px; border-left: 2px solid var(--on-navy); border-bottom: 2px solid var(--on-navy); transform: rotate(-45deg) scale(0); transition: transform .15s; }
.check input:checked + .check__box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid var(--brass); outline-offset: 2px; }
.has-error .check__box { border-color: var(--error); }
.linklike { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.form-success { display: grid; gap: 18px; justify-items: center; padding: clamp(36px, 5vw, 64px); background: var(--navy); color: var(--on-navy); text-align: center; }
.form-success:focus { outline: none; }
.form-success .mark { width: 52px; }
.form-success h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.15; }
.form-success p { max-width: 36ch; color: var(--on-navy-2); }
.form-success .form-success__demo { font-size: .95rem; }
.link-light { min-height: 44px; color: var(--brass-light); font-weight: 600; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 4px; }

.footer { background: var(--navy); color: var(--on-navy); padding: clamp(56px, 6vw, 88px) 0 32px; text-align: center; }
.footer__brand { display: grid; justify-items: center; gap: 14px; }
.footer .mark { width: 52px; }
.footer__word { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.footer__tag { max-width: 42ch; color: var(--on-navy-2); }
.footer__cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;
  margin: clamp(40px, 5vw, 56px) 0; padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid var(--line-navy);
}
.footer__h { margin-bottom: 12px; font-size: .76rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brass-light); }
.footer__cols p { line-height: 1.9; }
.footer a, .footer__link { color: inherit; text-decoration: underline; text-decoration-color: rgba(243, 238, 228, .35); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: text-decoration-color .2s; }
.footer a:hover, .footer__link:hover { text-decoration-color: currentColor; }
.footer__bottom { padding-top: 24px; border-top: 1px solid var(--line-navy); font-size: .88rem; color: var(--on-navy-2); }

.dialog {
  width: min(640px, calc(100vw - 32px)); max-height: min(84vh, 780px);
  padding: 0; border: 1px solid var(--line-strong); border-radius: 2px;
  background: var(--paper); color: var(--navy);
  box-shadow: 0 30px 80px rgba(28, 38, 54, .3);
  overflow: auto; overscroll-behavior: contain;
}
.dialog::backdrop { background: rgba(28, 38, 54, .55); }
.dialog__inner { display: grid; gap: 20px; padding: clamp(28px, 4vw, 48px); }
.dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dialog h2 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.15; }
.dialog__body { display: grid; gap: 14px; color: var(--slate); font-size: 1.02rem; }
.close-btn { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 2px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: border-color .2s; }
.close-btn:hover { border-color: var(--navy); }

/* 10. Responsive ----------------------------------------------------------- */
@media (max-width: 1099px) {
  :root { --header-h: 76px; }
  .header__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .nav, .header__right .lang, .header__right .btn--tel { display: none; }
  .brand { justify-self: start; justify-items: start; text-align: left; }
  .brand__word { font-size: 1.7rem; }
  .call-mobile, .menu-btn { display: inline-flex; }
  .header__right { gap: 16px; }
}

@media (max-width: 959px) {
  .row, .row--rev { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .row__media, .row__text, .row--rev .row__media, .row--rev .row__text { grid-column: 1 / -1; grid-row: auto; }
  .row__text { max-width: 40rem; }
  .shop__text, .shop__team { grid-column: 1 / -1; }
  .shop__team { max-width: 30rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__info, .contact__form { grid-column: 1 / -1; }
  .voices__more { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 759px) {
  body { font-size: 1.125rem; }
  .section { padding-block: 56px; }
  .brand__sub { display: none; }
  .brand__word { font-size: 1.5rem; }
  .hero__gallery { grid-template-columns: minmax(0, 1fr); }
  .hero__first { display: none; }
  .btn { padding: 12px 20px; letter-spacing: .08em; white-space: normal; text-align: center; line-height: 1.3; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .gallery { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .frame--wide { --ar: 4 / 3; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li { padding: 28px 0; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line-navy); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .details div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .note { padding: 22px 20px; }
}

/* Kleine Handys (unter 390 px): Anruf-Knopf nur mit Hörer-Symbol, damit nichts überlappt */
@media (max-width: 389px) {
  .header__inner { gap: 12px; }
  .header__right { gap: 12px; }
  .call-mobile { width: 46px; padding: 0; justify-content: center; }
  .call-mobile span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .menu-btn { gap: 8px; letter-spacing: .1em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
