/* ============================================================
   Gardinen Ideen — Website Design System
   Hell mit dunklen Akzenten · Gold/Braun/Sand · warm & persönlich
   ============================================================ */

:root {
  /* Farben */
  --ink:        #1B1510;   /* dunkler Grund (Hero/Footer) */
  --ink-2:      #261E16;
  --cream:      #F4ECDD;   /* Text auf dunkel */
  --cream-soft: #C9BBA4;   /* gedämpfter Text auf dunkel */
  --paper:      #F7F1E6;   /* Seiten-Hintergrund hell */
  --paper-2:    #EFE7D6;   /* zweite helle Fläche */
  --card:       #FCF9F2;   /* Karten */
  --white:      #FFFFFF;
  --brown:      #43331F;   /* Überschriften auf hell */
  --brown-soft: #715B41;   /* Fließtext auf hell */
  --gold:       #B8860B;
  --gold-soft:  #C9A24B;
  --gold-deep:  #9A6E16;
  --line:       rgba(67,51,31,0.14);
  --line-2:     rgba(67,51,31,0.08);
  --line-dark:  rgba(214,180,120,0.20);

  /* Typo */
  --serif:  'Cormorant Garamond', Georgia, serif;
  --serif2: 'Spectral', Georgia, serif;
  --sans:   'Manrope', system-ui, sans-serif;
  --label:  'Montserrat', system-ui, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow: 0 18px 50px -22px rgba(40,28,12,0.35);
  --shadow-sm: 0 8px 26px -16px rgba(40,28,12,0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--brown-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--brown); font-weight: 600; line-height: 1.08; margin: 0; }

p { margin: 0 0 1.1em; text-wrap: pretty; }

/* ── Layout helpers ───────────────────────────── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-tight { max-width: 880px; margin: 0 auto; padding-inline: var(--gutter); }

section { position: relative; }
.pad { padding-block: clamp(56px, 6vw, 96px); }
.pad-sm { padding-block: clamp(40px, 4vw, 64px); }

.dark { background: var(--ink); color: var(--cream-soft); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--cream); }
.tint { background: var(--paper-2); }

/* ── Eyebrow / kicker ─────────────────────────── */
.eyebrow {
  font-family: var(--label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px; background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.dark .eyebrow { color: var(--gold-soft); }
.dark .eyebrow::before { background: var(--gold-soft); }

/* ── Display type ─────────────────────────────── */
.display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--brown);
}
.dark .display, .page-hero .display { color: var(--cream); }
.display em { font-style: italic; color: var(--gold); font-weight: 600; }
.dark .display em, .page-hero .display em { color: var(--gold-soft); }

h2.title {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.05;
}
h2.title em { font-style: italic; color: var(--gold); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.65; color: var(--brown-soft); }
.dark .lead { color: var(--cream-soft); }

.muted { color: var(--brown-soft); }
.dark .muted { color: var(--cream-soft); }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 0.98rem;
  padding: 15px 26px; border-radius: 2px; border: 1px solid transparent;
  cursor: pointer; transition: all 0.22s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--brown); color: var(--paper); }
.btn-primary:hover { background: #2E2213; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #2A1E08; }
.btn-gold:hover { background: var(--gold-deep); color: var(--paper); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--brown); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-deep); }
.dark .btn-outline { color: var(--cream); border-color: var(--line-dark); }
.dark .btn-outline:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-ghost { padding: 0; background: none; color: var(--gold-deep); font-weight: 700;
  border-bottom: 1px solid transparent; border-radius: 0; }
.btn-ghost:hover { border-color: var(--gold); }

/* ── Header ───────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,241,230,0.82);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: 100%; margin: 0; padding: 0 clamp(20px,3vw,40px) 0 clamp(16px,2vw,26px);
  height: 117px; display: flex; align-items: center; justify-content: space-between; gap: 34px;
}
.brand { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
/* Header: Logo größer + nah am ersten Menüpunkt "Start" */
.site-header .brand .mark svg { width: 60px; height: auto; }
.site-header .brand .ln1 { font-size: 2.0rem; }
.site-header .brand .ln2 { font-size: 0.82rem; margin-top: 6px; }
.site-header .nav { margin-right: auto; }
.brand .mark { display: block; }
.brand .lockup { display: flex; flex-direction: column; line-height: 1; }
.brand .ln1 { font-family: var(--serif2); font-weight: 600; font-size: 1.42rem; color: var(--brown); line-height: 0.98; letter-spacing: 0.01em; }
.brand .ln2 { font-family: var(--label); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.42em; color: var(--gold-deep); text-transform: uppercase; margin-top: 4px; text-indent: 0.42em; }
.site-footer .brand .ln1 { color: var(--cream); }
.site-footer .brand .ln2 { color: var(--gold-soft); }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--brown);
  position: relative; padding: 6px 2px; transition: color 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.15, 1);
}
.nav a:hover { color: var(--gold-deep); transform: translateY(-1px); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--gold-deep); }

/* Sprach-Schalter — Schiebeschalter DE/RU */
.lang-switch { position: relative; display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.lang-thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--gold); box-shadow: 0 1px 3px rgba(40,28,12,0.25); transition: transform 0.34s cubic-bezier(0.34, 1.3, 0.5, 1); }
.lang-switch.ru .lang-thumb { transform: translateX(100%); }
.lang { position: relative; z-index: 1; flex: 1 0 auto; border: 0; background: transparent; font-family: var(--label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--brown-soft); padding: 6px 0; min-width: 42px; text-align: center; cursor: pointer; transition: color 0.22s; }
.lang-switch:not(.ru) .lang[data-lang="de"] { color: #2A1E08; }
.lang-switch.ru .lang[data-lang="ru"] { color: #2A1E08; }
.lang-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); background: var(--ink); color: var(--cream); font-size: 0.9rem; padding: 13px 22px; border-radius: 30px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.3s; z-index: 200; border: 1px solid var(--line-dark); max-width: calc(100vw - 32px); text-align: center; }
.lang-toast.show { opacity: 1; transform: translate(-50%, 0); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle svg { width: 26px; height: 26px; stroke: var(--brown); }

/* ── Footer ───────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--cream-soft); padding-block: clamp(56px, 7vw, 88px) 36px; }

/* Footer-Top: Google-Bewertung + Karte */
.footer-top {
  max-width: var(--maxw); margin: 0 auto clamp(40px, 5vw, 60px); padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 28px; align-items: stretch;
}
.footer-rating {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px 30px; background: var(--ink-2);
}
.footer-rating .rating-head { display: flex; align-items: center; gap: 10px; font-family: var(--label); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); font-weight: 600; }
.footer-rating .g-logo { width: 20px; height: 20px; flex: 0 0 auto; }
.footer-rating .rating-row { display: flex; align-items: center; gap: 14px; }
.footer-rating .score { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--cream); }
.footer-rating .stars { display: inline-flex; gap: 3px; }
.footer-rating .stars svg { width: 22px; height: 22px; fill: var(--gold-soft); }
.footer-rating .rating-link { color: var(--gold-soft); font-size: 0.92rem; font-weight: 600; width: fit-content; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.footer-rating .rating-link:hover { border-color: var(--gold-soft); }
.footer-map { border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; min-height: 230px; }
.footer-map-static { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; min-height: 230px; padding: 32px 24px; text-align: center; text-decoration: none; background: var(--ink-2); transition: background 0.2s; }
.footer-map-static:hover { background: #2e241a; }
.footer-map-addr { color: var(--cream); font-size: 0.97rem; line-height: 1.6; }
.footer-map-cta { color: var(--gold-soft); font-size: 0.88rem; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.footer-map-static:hover .footer-map-cta { border-color: var(--gold-soft); }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr; } }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
}
.footer-grid h4 { color: var(--cream); font-family: var(--label); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: var(--cream-soft); font-size: 0.98rem; transition: color 0.2s; width: fit-content; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-contact { display: flex; flex-direction: column; gap: 13px; font-size: 0.98rem; }
.footer-contact .row { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .row svg { width: 18px; height: 18px; stroke: var(--gold-soft); flex: 0 0 auto; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-bottom {
  max-width: var(--maxw); margin: 44px auto 0; padding: 22px var(--gutter) 0;
  border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.84rem; color: var(--cream-soft);
}
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-intro p { color: var(--cream-soft); font-size: 0.98rem; max-width: 34ch; }

/* ── Cards & grids ────────────────────────────── */
.grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(184,134,11,0.4); }
.card .ic {
  width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
a.card { display: block; color: inherit; }
.card-link { display: inline-block; margin-top: 16px; font-family: var(--sans); font-weight: 700;
  font-size: 0.9rem; color: var(--gold-deep); transition: gap .2s; }
a.card:hover .card-link { text-decoration: underline; text-underline-offset: 3px; }
.card .ic svg { width: 26px; height: 26px; stroke: var(--gold-deep); }
.card h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.card p { font-size: 0.98rem; margin: 0; }

/* img-frame: Höhe aus aspect-ratio statt fixer Bildhöhe */
.img-frame { display: block; width: 100%; height: auto !important; background: var(--paper-2); }
.img-frame img { width: 100%; height: 100%; display: block; }
.img-frame--empty { display: flex; align-items: center; justify-content: center; }
.img-frame--empty span { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brown-soft); opacity: 0.6; }
.dark .img-frame--empty span, .lux-hero .img-frame--empty span { color: var(--cream-soft); }

/* striped placeholder fallback look handled by component */

/* ── Steps ────────────────────────────────────── */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.step:first-child { border-top: 0; }
.step .num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 0.9; }
.step h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 6px; }
.step p { margin: 0; font-size: 1rem; }

/* ── Misc ─────────────────────────────────────── */
.divider-wave { display: flex; justify-content: center; padding: 8px 0; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; background: var(--paper-2);
  border-radius: 30px; padding: 8px 16px; font-size: 0.82rem; font-weight: 600;
  color: var(--gold-deep); letter-spacing: 0.02em;
}
.dark .pill { background: rgba(214,180,120,0.12); color: var(--gold-soft); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.tag { display:inline-block; font-family: var(--label); font-size:0.66rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--gold-deep); font-weight:600; }

/* breadcrumb / page hero */
.page-hero { background: var(--ink); color: var(--cream); }
.page-hero .wrap { padding-block: clamp(56px, 6vw, 90px); }
.page-hero .crumb { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; }

.hero-2col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 720px) { .hero-2col { grid-template-columns: 1fr; gap: 56px; } }

/* feature row (image + text) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature.flip > .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

.checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 1.02rem; }
.checklist li svg { width: 21px; height: 21px; stroke: var(--gold-deep); flex: 0 0 auto; margin-top: 3px; }
.dark .checklist li svg { stroke: var(--gold-soft); }

/* stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink-2); padding: 30px; text-align: center; }
.stat .n { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-soft); line-height: 1; }
.stat .l { font-size: 0.86rem; color: var(--cream-soft); margin-top: 8px; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav a { font-size: 0.88rem; }
}

/* Tablet: Navigation einklappen */
@media (max-width: 1000px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .header-cta .lang-switch { display: none; }
  .nav.open .lang-switch { display: inline-flex; margin: 14px 0 0; }
  .site-header .bar { height: 72px; gap: 12px; padding: 0 20px; }
  .site-header .brand .mark svg { width: 38px; }
  .site-header .brand .ln1 { font-size: 1.25rem; }
  .site-header .brand .ln2 { font-size: 0.58rem; }
  .brand { gap: 10px; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
    z-index: 99;
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line-2); width: 100%; }
  .nav.open a::after { display: none; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip > .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

/* Mobil: alles einspaltig */
@media (max-width: 560px) {
  body { font-size: 16px; }

  /* Header kompakt */
  .site-header .bar { height: 64px; padding: 0 16px; gap: 8px; }
  .site-header .brand .mark svg { width: 32px; }
  .site-header .brand .ln1 { font-size: 1.05rem; }
  .site-header .brand .ln2 { display: none; }
  .brand { gap: 8px; }
  .nav.open { top: 64px; padding: 8px 16px 18px; }
  .lang { min-width: 38px; font-size: 0.7rem; padding: 5px 0; }

  /* Grids */
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }

  /* Hero-Buttons gleich breit, volle Breite */
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}
