/* ===========================================================
   Larsen Schmuck & Uhren - Stylesheet
   Aufbau: 1 Farben/Schriften  2 Grundlagen  3 Kopf/Navigation
           4 Aufmacher  5 Bausteine  6 Sektionen  7 Fusszeile
           8 Lightbox  9 Grosse Bildschirme
   =========================================================== */

/* --- 1 Farben und Schriften ------------------------------- */
:root {
  --papier:      #FAF8F5;
  --papier-warm: #F2EEE8;
  --tinte:       #1F1D1B;
  --tinte-hell:  #5B564F;
  --gold:        #A8894F;
  --gold-tief:   #8A6E3A;
  --gruen:       #2E4034;
  --linie:       #DCD5C9;

  --font-display: "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif;
  --font-text:    Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --breite:   1180px;
  --schmal:   720px;
  --kopf-h:   60px;
  --raum:     clamp(3rem, 8vw, 6rem);
}

/* Schriften selbst hosten. Dateien in assets/fonts/ ablegen.
   Fehlen sie, greift automatisch der Fallback oben. */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold-tief); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tinte); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: .005em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 3.5vw, 1.5rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }
.wrap--schmal { max-width: var(--schmal); }

.abschnitt { padding-block: var(--raum); }
.abschnitt--warm { background: var(--papier-warm); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--tinte); color: var(--papier); padding: .75rem 1.25rem;
}
.skip:focus { left: .5rem; top: .5rem; }

/* Augenbraue: kleine Zeile ueber der Ueberschrift */
.augenbraue {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-tief); font-weight: 500; margin: 0 0 .9rem;
}

/* Gravurlinie: das wiederkehrende Trennelement */
.gravur { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.75rem; }
.gravur::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.gravur::after  { content: ""; height: 1px; background: var(--linie); flex: 1; }

.lauftext { max-width: 62ch; }
.lauftext--mitte { margin-inline: auto; text-align: center; }

/* --- 3 Kopf und Navigation -------------------------------- */
.kopf {
  position: sticky; top: 0; z-index: 40;
  height: var(--kopf-h);
  background: var(--papier);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.marke {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--tinte); text-decoration: none; line-height: 1;
}
.marke span { display: block; font-family: var(--font-text); font-size: .58rem; letter-spacing: .16em; color: var(--tinte-hell); margin-top: 3px; }

.marke__logo {
  height: 40px;      /* Ausgangswert – bei Bedarf anpassen */
  width: auto;
  display: block;
}
.kopf__aktionen { display: flex; align-items: center; gap: .35rem; }

.ikon-knopf {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; color: var(--tinte); cursor: pointer;
  border-radius: 3px;
}
.ikon-knopf:hover { background: var(--papier-warm); }
.ikon-knopf svg { width: 22px; height: 22px; }

.nav {
  position: fixed; inset: var(--kopf-h) 0 0 0;
  background: var(--papier);
  padding: 2rem clamp(1.25rem, 5vw, 3rem) 3rem;
  overflow-y: auto;
  display: none;
}
.nav[data-offen="true"] { display: block; }
.nav__liste { list-style: none; margin: 0; padding: 0; }
.nav__liste a {
  display: block; padding: .85rem 0;
  font-family: var(--font-display); font-size: 1.6rem;
  color: var(--tinte); text-decoration: none;
  border-bottom: 1px solid var(--linie);
}
.nav__liste a[aria-current="page"] { color: var(--gold-tief); }
.nav__fuss { margin-top: 2rem; font-size: .95rem; color: var(--tinte-hell); }
body[data-nav="offen"] { overflow: hidden; }

/* --- 4 Aufmacher ------------------------------------------ */
.aufmacher { position: relative; background: var(--papier-warm); }
.aufmacher__bild { position: relative; }
.aufmacher__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.aufmacher__text { padding: 2.5rem clamp(1.25rem, 5vw, 3rem) 3rem; }
.aufmacher h1 { margin-bottom: .35em; }
.aufmacher__unter {
  font-family: var(--font-display); font-size: clamp(1.1rem, 4vw, 1.45rem);
  color: var(--tinte-hell); margin-bottom: 1.5rem;
}

.status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; letter-spacing: .04em;
  border: 1px solid var(--linie); background: var(--papier);
  padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.75rem;
}
.status__punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--tinte-hell); flex: none; }
.status[data-offen="true"]  .status__punkt { background: #4C7A4F; }
.status[data-offen="false"] .status__punkt { background: #9A5B4C; }

.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem;
  font-family: var(--font-text); font-size: .98rem; font-weight: 500;
  text-decoration: none; border-radius: 2px; border: 1px solid var(--tinte);
  background: var(--tinte); color: var(--papier);
  transition: background .18s, color .18s;
}
.knopf:hover { background: var(--gold-tief); border-color: var(--gold-tief); color: #fff; }
.knopf--leer { background: none; color: var(--tinte); }
.knopf--leer:hover { background: var(--tinte); color: var(--papier); }
.knopf svg { width: 18px; height: 18px; flex: none; }

/* --- 5 Bausteine ------------------------------------------ */
.gitter { display: grid; gap: 1.5rem; }
.gitter--2 { grid-template-columns: 1fr; }
.gitter--3 { grid-template-columns: 1fr; }

.kachel {
  display: block; text-decoration: none; color: inherit;
  background: var(--papier);
  border: 1px solid var(--linie);
  overflow: hidden;
}
.kachel img { aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.kachel:hover img { transform: scale(1.03); }
.kachel__text { padding: 1.25rem 1.4rem 1.5rem; }
.kachel h3 { margin-bottom: .3em; }
.kachel p { font-size: .95rem; color: var(--tinte-hell); margin: 0; }
.kachel__mehr { display: inline-block; margin-top: .9rem; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-tief); font-weight: 500; }

.leistungen { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--linie); grid-template-columns: 1fr 1fr; }
.leistungen li { background: var(--papier-warm); padding: 1.1rem .9rem; display: flex; gap: .6rem; align-items: flex-start; font-size: .93rem; line-height: 1.45; }
.abschnitt--warm .leistungen li { background: var(--papier); }
.leistungen svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 1px; }

.notizen { display: grid; gap: 1.25rem; }
.notiz { border-top: 1px solid var(--linie); padding-top: 1.25rem; }
.notiz time { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-tief); margin-bottom: .4rem; }
.notiz h3 { margin-bottom: .35em; }
.notiz p { font-size: .96rem; color: var(--tinte-hell); margin: 0; }
.notiz img { margin-top: 1rem; aspect-ratio: 3 / 2; object-fit: cover; }

.zeitleiste { list-style: none; margin: 0; padding: 0 0 0 1.75rem; border-left: 1px solid var(--linie); }
.zeitleiste li { position: relative; padding-bottom: 2.25rem; }
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste li::before {
  content: ""; position: absolute; left: calc(-1.75rem - 4px); top: .55rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.zeitleiste b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; display: block; margin-bottom: .2rem; }

.zeitleiste--bilder { padding-left: 0; border-left: none; }
.zeitleiste--bilder li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0;
  position: relative;
  padding-bottom: 2rem;
}
.zeitleiste--bilder li::before {
  content: "";
  position: absolute;
  left: 4.5rem;
  top: 0; bottom: 0;
  width: 1px;
  height: auto;
  border-radius: 0;
  background: var(--linie);
}
.zeitleiste--bilder li:last-child::before { bottom: auto; height: 1.5rem; }
.zeitleiste--bilder b {
  text-align: right;
  padding-right: 1.25rem;
  font-size: 1.1rem;
}
.zeitleiste--bilder li > div {
  padding-left: 1.25rem;
}
.zeitleiste--bilder img {
  max-width: 100%;
  margin-bottom: .75rem;
}
.zeitleiste--bilder p { color: var(--tinte-hell); font-size: .95rem; margin: 0 0 .5rem; }
.falte__inhalt--breit { max-width: none; }
@media (min-width: 620px) {
  .zeitleiste--bilder img { max-width: 480px; }
}

.galerie { display: grid; gap: .75rem; grid-template-columns: 1fr 1fr; }
.galerie button { padding: 0; border: 0; background: #fff; cursor: zoom-in; display: block; }
.galerie img { aspect-ratio: 1 / 1; object-fit: cover; transition: opacity .2s; }
.galerie button:hover img { opacity: .88; }

.falte { border-bottom: 1px solid var(--linie); }
.falte summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0;
  font-family: var(--font-display); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.falte summary::-webkit-details-marker { display: none; }
.falte summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; flex: none; }
.falte[open] summary::after { content: "\2013"; }
.falte__inhalt { padding-bottom: 1.4rem; max-width: 62ch; color: var(--tinte-hell); }

.daten { list-style: none; margin: 0; padding: 0; }
.daten li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--linie); font-size: .97rem; }
.daten li:last-child { border-bottom: 0; }
.daten li[data-heute="true"] { color: var(--tinte); font-weight: 500; }
.daten li[data-heute="true"] span:first-child::after { content: " \00B7 heute"; color: var(--gold-tief); font-weight: 400; }

address { font-style: normal; }

.hinweis {
  border: 1px dashed var(--gold);
  background: var(--papier-warm);
  padding: 1.1rem 1.25rem;
  font-size: .93rem;
  color: var(--tinte-hell);
}

/* --- 6 Sektionen ------------------------------------------ */
.paar { display: grid; gap: 2rem; }
.paar img { aspect-ratio: 4 / 3; object-fit: cover; }

.karte-block { display: grid; gap: 2rem; }
.karte-block img { aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--linie); }

.schritte { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.schritte li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.schritte li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.5rem; color: var(--gold);
}
.schritte h3 { font-size: 1.2rem; margin-bottom: .25em; }
.schritte p { font-size: .95rem; color: var(--tinte-hell); margin: 0; }

/* --- 7 Fusszeile ------------------------------------------ */
.fuss { background: var(--tinte); color: #C9C3B8; padding-block: 3rem 2rem; margin-top: var(--raum); }
.fuss a { color: #E8E2D6; }
.fuss a:hover { color: #fff; }
.fuss__gitter { display: grid; gap: 2rem; }
.fuss h2 { font-size: 1.05rem; font-family: var(--font-text); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.fuss__recht { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #3A3733; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between; }

/* --- 8 Lightbox ------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(20, 18, 16, .93);
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.lightbox[data-offen="true"] { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox__zu, .lightbox__vor, .lightbox__zurueck {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem;
}
.lightbox__zu { top: .5rem; right: .5rem; }
.lightbox__zurueck { left: .25rem; top: 50%; transform: translateY(-50%); }
.lightbox__vor { right: .25rem; top: 50%; transform: translateY(-50%); }
.lightbox__zaehler { position: absolute; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: #A9A29A; font-size: .85rem; }

/* --- 9 Grosse Bildschirme --------------------------------- */
@media (min-width: 620px) {
  .galerie { gap: 1rem; }
  .leistungen { grid-template-columns: repeat(2, 1fr); }
  .gitter--2 { grid-template-columns: 1fr 1fr; }
  .notizen { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (min-width: 900px) {
  :root { --kopf-h: 76px; }
  body { font-size: 18px; }

  .kopf { background: rgba(250, 248, 245, .94); backdrop-filter: blur(8px); }

  .kopf__aktionen .ikon-knopf--menue { display: none; }
  .nav {
    position: static; inset: auto; display: block; background: none;
    padding: 0; overflow: visible;
  }
  .nav__liste { display: flex; gap: 1.9rem; align-items: center; }
  .nav__liste a {
    padding: .35rem 0; border: 0; font-family: var(--font-text);
    font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
    border-bottom: 1px solid transparent;
  }
  .nav__liste a:hover { border-bottom-color: var(--gold); }
  .nav__liste a[aria-current="page"] { border-bottom-color: var(--gold); }
  .nav__fuss { display: none; }

  .aufmacher { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; }
  .aufmacher__bild img { height: 100%; aspect-ratio: auto; min-height: 74vh; padding-left: 5rem;}
  .aufmacher__text { display: flex; flex-direction: column; justify-content: center; padding: 4rem clamp(2rem, 5vw, 5rem); }

  .gitter--3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .leistungen { grid-template-columns: repeat(4, 1fr); }
  .galerie { grid-template-columns: repeat(4, 1fr); }
  .paar { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
  .karte-block { grid-template-columns: 1fr 1.15fr; gap: 3.5rem; align-items: center; }
  .schritte { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .schritte li { grid-template-columns: 1fr; gap: .5rem; }
  .fuss__gitter { grid-template-columns: 1.2fr 1fr 1fr; gap: 3rem; }
}

@media (min-width: 1100px) {
  .kachel--gross { grid-row: span 1; }
}

@media print {
  .kopf, .nav, .lightbox, .knopfreihe { display: none !important; }
  body { background: #fff; font-size: 11pt; }
}
