/* schleiwärts — Markenpaket v1 (Claude Design, Oktober 2026)
   Farben, Schrift und Maße stammen 1:1 aus "Schleiwaerts Pitch.dc.html", Abschnitte 03, 04, 08, 09. */

@font-face {
  font-family: 'Albert Sans';
  src: url('assets/fonts/albert-sans-latin.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* 03 · Farbe */
  --putzweiss: #F7F5F0;   /* Hintergrund, 80 % jeder Fläche */
  --dach: #2E3338;        /* Text, Logo, Buttons */
  --schlei: #5E7F8E;      /* Linien, Links, Label */
  --daemmerhimmel: #D5E0E8; /* zweiter Hintergrund */
  --schilf: #B9A77E;      /* nur Fläche/Linie, nie Text */
  --abendlicht: #D9A872;  /* der eine warme Punkt */
  /* Nebentöne aus dem Website-Entwurf (08) */
  --text-2: #4A5156;
  --text-3: #6B7378;
  --linie: #DDD8CE;
  --belegt: #B9C6CE;

  --pad-x: 48px;
  --sektion: 96px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--putzweiss);
  color: var(--dach);
  font-family: 'Albert Sans', system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--dach); text-decoration: none; }
a:hover { color: var(--schlei); }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--schlei);
}
.feldlabel {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
}
.h2 { font-weight: 500; font-size: 40px; letter-spacing: -0.03em; line-height: 1.05; }
.intro { font-weight: 300; font-size: 20px; line-height: 1.5; color: var(--text-2); max-width: 520px; }
.btn {
  display: inline-block; background: var(--dach); color: var(--putzweiss); border: 0;
  padding: 16px 28px; font-size: 15px; font-weight: 500; border-radius: 0;
}
.btn:hover { color: var(--putzweiss); background: #3b4147; }
.split { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 48px; align-items: end; }

/* Vorschau-Hinweis (nur solange Inhalte Platzhalter sind) */
.vorschau {
  background: var(--abendlicht); color: var(--dach); font-size: 13px; text-align: center; padding: 8px 16px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { flex: none; }
.wortmarke { font-weight: 500; letter-spacing: -0.02em; }
.hausname { display: flex; align-items: center; gap: 10px; }
.hausname .trenn { width: 1px; height: 14px; background: var(--schlei); }
.hausname .name { font-weight: 300; }

/* Nav */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 24px var(--pad-x); }
.nav .wortmarke { font-size: 20px; }
.nav-links { display: flex; gap: 32px; font-size: 14px; align-items: center; }
.nav-links .sprache { color: var(--schlei); }
.nav-links .btn { padding: 10px 18px; font-size: 14px; }
.menue-knopf { display: none; background: none; border: 0; padding: 8px; }
.menue-knopf span { display: block; width: 22px; height: 1.5px; background: var(--dach); margin: 5px 0; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); min-height: 620px; }
.hero-text { padding: 32px var(--pad-x) 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero-text .oben { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 500; font-size: 56px; letter-spacing: -0.03em; line-height: 1.02; text-wrap: pretty; }
.hero .lead { font-weight: 300; font-size: 18px; line-height: 1.55; max-width: 400px; color: var(--text-2); }
.suche { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid var(--dach); }
.suche label { padding: 14px 16px; border-right: 1px solid var(--dach); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.suche label:last-child { border-right: 0; }
.suche input, .suche select {
  border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--dach); padding: 0; width: 100%; min-width: 0;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.suche-zeile { display: flex; gap: 12px; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.suche-zeile .preis { font-size: 14px; color: var(--text-2); }
.hero-bild { position: relative; overflow: hidden; min-height: 620px; }
.hero-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.bild-schild {
  position: absolute; left: 24px; bottom: 24px; background: var(--putzweiss); padding: 10px 14px; font-size: 13px;
  display: flex; gap: 10px; align-items: center;
}
.bild-schild .trenn { width: 1px; height: 12px; background: var(--schlei); }
.bild-schild .neben { color: var(--text-2); }

/* Fakten */
.fakten { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.fakten div { padding: 28px var(--pad-x); border-right: 1px solid var(--linie); display: flex; flex-direction: column; gap: 4px; }
.fakten div:last-child { border-right: 0; }
.fakten .zahl { font-weight: 500; font-size: 28px; letter-spacing: -0.02em; }
.fakten .text { font-size: 13px; color: var(--text-2); }

/* Buchung */
.buchung { background: var(--daemmerhimmel); padding: 80px var(--pad-x); display: grid; grid-template-columns: repeat(auto-fit, minmax(360px,1fr)); gap: 48px; scroll-margin-top: 0; }
.buchung .info { display: flex; flex-direction: column; gap: 20px; }
.buchung .info p { font-size: 16px; line-height: 1.55; color: var(--text-2); max-width: 380px; }
.legende { display: flex; gap: 20px; font-size: 13px; color: var(--text-2); padding-top: 8px; flex-wrap: wrap; }
.legende span { display: flex; align-items: center; gap: 8px; }
.legende i { width: 12px; height: 12px; display: inline-block; }
.legende .frei { background: var(--putzweiss); border: 1px solid var(--dach); }
.legende .gewaehlt { background: var(--abendlicht); }
.legende .belegt { background: var(--belegt); }
.buchungskarte { background: var(--putzweiss); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 32px; }
.kalender { display: flex; flex-direction: column; gap: 16px; }
.kal-kopf { display: flex; justify-content: space-between; align-items: center; }
.kal-kopf button { background: none; border: 0; color: var(--schlei); font-size: 20px; padding: 0 8px; }
.kal-kopf button:disabled { opacity: 0.3; cursor: default; }
.kal-kopf .monat { font-weight: 500; }
.kal-tage, .kal-raster { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.kal-tage { font-size: 11px; color: var(--text-3); text-align: center; }
.tag {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 13px;
  background: var(--putzweiss); color: var(--dach); border: 1px solid var(--linie); padding: 0;
}
.tag:hover:not(:disabled) { border-color: var(--dach); }
.tag.leer { background: transparent; border-color: transparent; }
.tag.belegt, .tag.vergangen { background: var(--belegt); border-color: var(--belegt); color: var(--text-3); cursor: default; }
.tag.vergangen { background: transparent; border-color: transparent; opacity: 0.45; }
.tag.gewaehlt { background: var(--abendlicht); border-color: var(--abendlicht); }
.zusammenfassung { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--linie); padding-top: 24px; }
.zusammenfassung .feld { display: flex; flex-direction: column; gap: 2px; }
.zusammenfassung .wert { font-size: 15px; }
.rechnung { border-top: 1px solid var(--linie); padding-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.rechnung div { display: flex; justify-content: space-between; }
.rechnung .neben { color: var(--text-2); }
.rechnung .gesamt { font-weight: 500; font-size: 16px; padding-top: 6px; }
.zusammenfassung .btn { text-align: center; padding: 14px; font-size: 14px; }
.zusammenfassung .btn:disabled { opacity: 0.4; cursor: default; }
.kleingedruckt { font-size: 11px; color: var(--text-3); text-align: center; }
.hinweis { font-size: 13px; color: var(--text-2); }

/* Merkmale */
.merkmale { padding: var(--sektion) var(--pad-x); display: flex; flex-direction: column; gap: 56px; }
.merkmal-raster { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--linie); }
.merkmal { background: var(--putzweiss); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; }
.merkmal h3 { font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.merkmal p { font-size: 15px; line-height: 1.55; color: var(--text-2); }

/* Galerie */
.galerie { padding: 0 var(--pad-x) var(--sektion); display: flex; flex-direction: column; gap: 24px; }
.kopfzeile { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.kopfzeile .neben { font-size: 14px; color: var(--text-2); }
.galerie-raster { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); grid-auto-rows: 200px; gap: 2px; }
.galerie-raster figure { margin: 0; position: relative; grid-column: span 4; overflow: hidden; }
.galerie-raster figure.gross { grid-column: span 8; grid-row: span 2; }
.galerie-raster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Häuser */
.haeuser { background: var(--daemmerhimmel); padding: var(--sektion) var(--pad-x); display: flex; flex-direction: column; gap: 40px; }
.haus-raster { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.haus { background: var(--putzweiss); display: flex; flex-direction: column; }
.haus .bild { height: 220px; position: relative; overflow: hidden; }
.haus .bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.haus .platzhalter {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: #E7ECEF; color: var(--text-3); font-size: 13px; border-bottom: 1px solid var(--linie);
}
.haus .inhalt { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.haus .hausname { font-size: 18px; }
.haus .daten { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.haus .fuss { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; font-size: 14px; }
.haus .fuss a { color: var(--schlei); }
.punkt { display: inline-flex; align-items: center; gap: 8px; }
.punkt::before { content: ''; width: 8px; height: 8px; background: var(--abendlicht); }

/* Stimmen */
.stimmen { padding: var(--sektion) var(--pad-x); display: flex; flex-direction: column; gap: 48px; }
.stimmen-raster { display: grid; grid-template-columns: repeat(3,1fr); gap: 48px; }
.stimme { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--dach); padding-top: 24px; }
.stimme blockquote { margin: 0; font-weight: 300; font-size: 20px; line-height: 1.45; text-wrap: pretty; }
.stimme .wer { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.stimme .wer b { font-weight: 500; }
.stimme .wer span { color: var(--text-3); }

/* FAQ */
.faq { padding: 0 var(--pad-x) var(--sektion); display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 48px; }
.faq .links { display: flex; flex-direction: column; gap: 16px; }
.faq .links p { font-size: 15px; line-height: 1.55; color: var(--text-2); max-width: 360px; }
.faq-liste { border-top: 1px solid var(--dach); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; padding: 20px 0; cursor: pointer; gap: 24px; font-size: 17px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--schlei); font-size: 20px; font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 22px; font-size: 15px; line-height: 1.55; color: var(--text-2); max-width: 560px; }

/* Footer */
.footer { background: var(--dach); color: var(--putzweiss); padding: 64px var(--pad-x) 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-raster { display: grid; grid-template-columns: minmax(0,5fr) repeat(3, minmax(0,2fr)); gap: 48px; }
.footer .wortmarke { font-size: 24px; letter-spacing: -0.03em; }
.footer .claim { font-weight: 300; font-size: 15px; line-height: 1.55; color: var(--daemmerhimmel); max-width: 300px; margin-top: 20px; }
.footer .spalte { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer .spalte a { color: var(--daemmerhimmel); }
.footer .spalte a:hover { color: var(--putzweiss); }
.footer .spalte .label { color: var(--belegt); }
.footer-unten { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--belegt); border-top: 1px solid var(--text-2); padding-top: 24px; }
.footer-unten nav { display: flex; gap: 24px; }
.footer-unten a { color: var(--belegt); }

/* Handy-Leiste: Buchen bleibt unten sichtbar (08 · Handy) */
.buchen-leiste { display: none; }

/* Unterseiten (Impressum, Datenschutz) */
.unterseite { max-width: 760px; padding: 48px var(--pad-x) var(--sektion); }
.unterseite h1 { font-weight: 500; font-size: 40px; letter-spacing: -0.03em; margin-bottom: 32px; }
.unterseite h2 { font-weight: 500; font-size: 22px; margin: 32px 0 8px; }
.unterseite p { font-size: 16px; line-height: 1.55; color: var(--text-2); }

@media (max-width: 1000px) {
  :root { --pad-x: 32px; --sektion: 72px; }
  .hero h1 { font-size: 46px; }
  .merkmal-raster, .haus-raster, .stimmen-raster { grid-template-columns: 1fr 1fr; }
  .fakten { grid-template-columns: 1fr 1fr; }
  .fakten div:nth-child(2) { border-right: 0; }
  .fakten div:nth-child(-n+2) { border-bottom: 1px solid var(--linie); }
  .footer-raster { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --pad-x: 24px; --sektion: 64px; }
  .nav { padding: 20px var(--pad-x); }
  .nav .wortmarke { font-size: 17px; }
  .menue-knopf { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0; z-index: 20; background: var(--putzweiss);
    flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px var(--pad-x) 32px; border-bottom: 1px solid var(--linie); font-size: 17px;
  }
  .nav.offen .nav-links { display: flex; }
  .hero { display: flex; flex-direction: column-reverse; min-height: 0; }
  .hero-bild { min-height: 300px; height: 300px; }
  .hero-bild img { object-position: 60% 50%; }
  .hero-text { padding: 28px var(--pad-x) 32px; }
  .hero h1 { font-size: 34px; line-height: 1.05; }
  .hero .lead { font-size: 16px; }
  .suche { grid-template-columns: 1fr 1fr; }
  .suche label:nth-child(2) { border-right: 0; }
  .suche label:last-child { grid-column: span 2; border-top: 1px solid var(--dach); }
  .split, .faq { grid-template-columns: 1fr; gap: 16px; }
  .h2 { font-size: 32px; }
  .intro { font-size: 17px; }
  .merkmal-raster, .haus-raster, .stimmen-raster { grid-template-columns: 1fr; }
  .stimmen-raster { gap: 32px; }
  .merkmal { min-height: 0; padding: 28px 24px; }
  .buchung { padding: 56px var(--pad-x); grid-template-columns: 1fr; }
  .buchungskarte { padding: 20px; }
  .galerie-raster { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .galerie-raster figure, .galerie-raster figure.gross { grid-column: span 1; grid-row: span 1; }
  .galerie-raster figure.gross { grid-column: span 2; grid-row: span 2; }
  .galerie-raster figure:last-child { grid-column: span 2; grid-row: span 1; }
  .footer-raster { grid-template-columns: 1fr; gap: 32px; }
  .buchen-leiste {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-between; align-items: center;
    background: var(--putzweiss); border-top: 1px solid var(--linie); padding: 12px var(--pad-x) calc(12px + env(safe-area-inset-bottom));
  }
  .buchen-leiste .btn { padding: 14px 22px; }
  body { padding-bottom: 76px; }
}

/* Fehlende Angaben in Rechtstexten sichtbar markieren (vor Livegang füllen) */
.fehlt { background: var(--abendlicht); padding: 0 4px; }
.unterseite ul { padding-left: 20px; margin: 8px 0; color: var(--text-2); line-height: 1.55; }
.unterseite .stand { margin-top: 40px; font-size: 13px; color: var(--text-3); }

/* Galerie-Kacheln als Knöpfe + „Alle Fotos" */
.galerie-raster figure button { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galerie-raster figure button:focus-visible { outline: 2px solid var(--abendlicht); outline-offset: -2px; }
.link-knopf { background: none; border: 0; padding: 0; font-size: 14px; color: var(--schlei); }
.link-knopf:hover { color: var(--dach); }
.nav-links .sprache b { font-weight: 500; color: var(--dach); }
.nav-links .sprache a { color: var(--schlei); }

/* Fotogalerie Vollbild (Dach als dunkle Fläche, wie im Markenpaket erlaubt) */
.lightbox { position: fixed; inset: 0; z-index: 100; background: var(--dach); color: var(--putzweiss); display: flex; flex-direction: column; }
.lb-kopf { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; font-size: 14px; color: var(--daemmerhimmel); gap: 16px; }
.lb-kopf button { background: none; border: 0; color: var(--putzweiss); font-size: 15px; padding: 8px 0; }
.lb-buehne { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 8px; }
.lb-buehne img { max-width: 100%; max-height: 100%; object-fit: contain; min-width: 0; flex: 1 1 auto; }
.lb-pfeil { background: none; border: 0; color: var(--putzweiss); font-size: 40px; font-weight: 300; padding: 16px; flex: none; }
.lb-pfeil:hover { color: var(--abendlicht); }
.lb-leiste { display: flex; gap: 4px; overflow-x: auto; padding: 12px 24px 20px; scrollbar-width: none; }
.lb-leiste button { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; background: none; opacity: 0.55; }
.lb-leiste button[aria-current] { border-color: var(--abendlicht); opacity: 1; }
.lb-leiste img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .lb-pfeil { display: none; }
  .lb-buehne { padding: 0; }
}
.lightbox button:focus { outline: none; }
.lightbox button:focus-visible { outline: 1px solid var(--abendlicht); outline-offset: 2px; }
