/* ── LOCAL FONTS (DSGVO-konform, kein Google-Server-Request) ── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-300-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/jost-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jost-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --sand:    #e8e0d0;
    --dune:    #c9bea8;
    --mud:     #7a6e5f;
    --deep:    #2c3a3a;
    --sea:     #3d5c5c;
    --horizon: #8faaa8;
    --salt:    #f4f1ec;
    --white:   #fafaf8;
    --ff-head: 'Cormorant Garamond', Georgia, serif;
    --ff-body: 'Jost', sans-serif;
  }

  html { scroll-behavior: smooth; }
  body { background: var(--white); color: var(--deep); font-family: var(--ff-body); font-weight: 300; line-height: 1.7; overflow-x: hidden; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 3rem;
    background: rgba(44,58,58,0.92);
    backdrop-filter: blur(8px);
    transition: background 0.3s;
  }
  .nav-logo {
    font-family: var(--ff-head); font-size: 1.15rem; font-weight: 400;
    color: var(--sand); letter-spacing: 0.12em; text-decoration: none;
    line-height: 1.2;
  }
  .nav-logo span { display: block; font-size: 0.65rem; letter-spacing: 0.3em; font-family: var(--ff-body); font-weight: 300; color: var(--horizon); text-transform: uppercase; }
  .nav-links { display: flex; gap: 2.5rem; list-style: none; }
  .nav-links a { color: var(--sand); text-decoration: none; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.85; transition: opacity 0.2s; }
  .nav-links a:hover { opacity: 1; }
  .nav-lang { display: flex; gap: 0.6rem; }
  .nav-lang button { background: none; border: 1px solid rgba(200,190,168,0.35); color: var(--sand); font-family: var(--ff-body); font-size: 0.7rem; letter-spacing: 0.15em; padding: 0.25rem 0.6rem; cursor: pointer; transition: all 0.2s; }
  .nav-lang button.active, .nav-lang button:hover { background: var(--sand); color: var(--deep); }

  /* ── HERO ── */
  .hero {
    position: relative; height: 100vh; min-height: 760px;
    display: flex; align-items: flex-end; justify-content: flex-start;
    overflow: hidden;
  }
  .hero-img {
    position: absolute; inset: 0;
    background: url('hero-bg.jpg') center/cover no-repeat;
    transform: scale(1.04);
    animation: heroZoom 12s ease-out forwards;
  }
  @keyframes heroZoom { to { transform: scale(1); } }
  .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(30,44,44,0.75) 0%, rgba(30,44,44,0.15) 55%, transparent 100%);
  }
  .hero-content {
    position: relative; z-index: 2;
    padding: 0 4rem 4rem;
    animation: fadeUp 1.4s ease both;
  }
  @keyframes fadeUp { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: translateY(0); } }
  .hero-eyebrow {
    font-family: var(--ff-body); font-size: 0.8rem; letter-spacing: 0.3em;
    text-transform: uppercase; color: rgba(232,224,208,0.82); margin-bottom: 1rem; font-weight: 400;
  }
  .hero h1 {
    font-family: var(--ff-head); font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 300; color: var(--white); line-height: 1.1;
    margin-bottom: 1.2rem;
  }
  .hero h1 em { font-style: italic; color: var(--sand); }
  .hero-sub {
    font-size: 1.05rem; color: rgba(232,224,208,1.0); max-width: 520px; font-weight: 400;
    margin-bottom: 2.2rem; line-height: 1.8;
  }
  .btn-primary {
    display: inline-block; padding: 0.85rem 2.4rem;
    background: var(--sand); color: var(--deep);
    font-family: var(--ff-body); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
    transition: background 0.25s, color 0.25s;
  }
  .btn-primary:hover { background: var(--white); }
  .btn-outline {
    display: inline-block; padding: 0.85rem 2.4rem; margin-left: 1rem;
    border: 1px solid rgba(232,224,208,0.55); color: var(--sand);
    font-family: var(--ff-body); font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none;
    transition: all 0.25s;
  }
  .btn-outline:hover { border-color: var(--sand); background: rgba(232,224,208,0.1); }
  .scroll-hint {
    position: absolute; bottom: 2.5rem; right: 3rem; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: rgba(232,224,208,0.6); font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
    animation: fadeUp 2s 0.8s ease both;
  }
  .scroll-line { width: 1px; height: 40px; background: rgba(232,224,208,0.4); animation: scrollLine 2s infinite; }
  @keyframes scrollLine { 0%,100%{opacity:0.3} 50%{opacity:1} }

  /* ── SECTION COMMON ── */
  section { padding: 6rem 0; }
  .container { max-width: 1160px; margin: 0 auto; padding: 0 2.5rem; }
  .section-label {
    font-family: var(--ff-body); font-size: 0.65rem; letter-spacing: 0.35em;
    text-transform: uppercase; color: var(--sea); margin-bottom: 1rem;
  }
  .section-title {
    font-family: var(--ff-head); font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300; line-height: 1.15; color: var(--deep);
    margin-bottom: 1.5rem;
  }
  .section-title em { font-style: italic; color: var(--sea); }

  /* ── INTRO ── */
  .intro { background: var(--salt); }
  .intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .intro-text p { color: var(--mud); margin-bottom: 1.2rem; font-size: 0.95rem; }
  .intro-stats { display: flex; gap: 3rem; margin-top: 2.5rem; }
  .stat { border-top: 1px solid var(--dune); padding-top: 1rem; }
  .stat-num { font-family: var(--ff-head); font-size: 2.5rem; font-weight: 300; color: var(--sea); }
  .stat-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mud); }
  .intro-img { position: relative; }
  .intro-img img { width: 100%; height: 500px; object-fit: cover; display: block; }
  .intro-img-caption {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    background: var(--deep); color: var(--sand);
    font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
    padding: 0.8rem 1.2rem;
  }

  /* ── APARTMENTS ── */
  .apartments { background: var(--white); }
  .apt-grid { display: flex; flex-direction: column; gap: 0; margin-top: 4rem; }
  .apt-card { display: flex; flex-direction: row; min-height: 480px; overflow: hidden; border-bottom: 1px solid var(--dune); }
  .apt-card:nth-child(2) { flex-direction: row-reverse; }
  .apt-card .apt-img-wrap { flex: 0 0 58%; position: relative; overflow: hidden; }
  .apt-card img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; transition: transform 0.7s ease; }
  .apt-card:hover img { transform: scale(1.04); }
  .apt-overlay {
    flex: 1; background: var(--salt);
    display: flex; flex-direction: column; justify-content: center;
    padding: 3rem 3.5rem;
  }
  .apt-card:nth-child(2) .apt-overlay { background: var(--white); }
  .apt-badge {
    display: inline-block; background: var(--deep); color: var(--sand);
    font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
    padding: 0.3rem 0.8rem; margin-bottom: 1.2rem; width: fit-content;
  }
  .apt-card:nth-child(2) .apt-badge { background: var(--sea); }
  .apt-name {
    font-family: var(--ff-head); font-size: 2.4rem; font-weight: 300;
    color: var(--deep); line-height: 1.1; margin-bottom: 0.8rem;
  }
  .apt-name em, .apt-name i { font-style: italic; }
  .apt-desc { font-size: 0.85rem; color: var(--stone); margin-bottom: 1.5rem; line-height: 1.75; }
  .apt-features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.8rem; }
  .apt-feat {
    font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
    border: 1px solid var(--dune); color: var(--deep);
    padding: 0.25rem 0.7rem;
  }
  .btn-apt {
    display: inline-block; padding: 0.8rem 2rem;
    background: var(--deep); color: var(--sand);
    font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
    text-decoration: none; font-family: var(--ff-body);
    transition: background 0.2s; width: fit-content;
  }
  .btn-apt:hover { background: var(--sea); color: var(--white); }

  /* ── GALLERY ── */
  .gallery { background: var(--salt); padding: 6rem 0; }
  .gallery-header { text-align: center; margin-bottom: 3rem; }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 280px 280px;
    gap: 3px;
    max-width: 1300px; margin: 0 auto; padding: 0 2.5rem;
  }
  .g-item { overflow: hidden; }
  .g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
  .g-item:hover img { transform: scale(1.06); }
  .g-item.tall { grid-row: span 2; }
  .g-item.wide { grid-column: span 2; }

  /* ── HALLIG ── */
  .hallig { background: var(--deep); padding: 6rem 0; }
  .hallig-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
  .hallig .section-label { color: var(--horizon); }
  .hallig .section-title { color: var(--sand); }
  .hallig .section-title em { color: var(--sand); }
  .hallig p { color: rgba(200,190,168,0.8); margin-bottom: 1.2rem; font-size: 0.95rem; }
  .hallig-img img { width: 100%; height: 420px; object-fit: cover; display: block; }
  .hallig-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
  .hallig-fact {
    border-left: 2px solid var(--sea);
    padding-left: 1rem;
  }
  .hallig-fact strong { display: block; font-family: var(--ff-head); font-size: 1.4rem; font-weight: 300; color: var(--sand); }
  .hallig-fact span { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--horizon); }

  /* ── ANREISE ── */
  .anreise { background: var(--white); }
  .anreise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .anreise-img img { width: 100%; height: 460px; object-fit: cover; display: block; }
  .anreise-steps { margin-top: 2rem; }
  .step { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
  .step-num { font-family: var(--ff-head); font-size: 2rem; font-weight: 300; color: var(--dune); line-height: 1; min-width: 2rem; }
  .step-text strong { display: block; font-weight: 500; font-size: 0.9rem; color: var(--deep); margin-bottom: 0.25rem; }
  .step-text span { font-size: 0.85rem; color: var(--mud); }

  /* ── REVIEWS ── */
  .reviews { background: var(--salt); }
  .reviews-header { text-align: center; margin-bottom: 4rem; }
  .review-stars { color: #c9a84c; font-size: 1.1rem; margin-bottom: 0.5rem; }
  .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .review-card { background: var(--white); padding: 2.5rem; border-top: 2px solid var(--sand); }
  .review-text { font-family: var(--ff-head); font-size: 1.15rem; font-weight: 300; font-style: italic; color: var(--deep); line-height: 1.6; margin-bottom: 1.5rem; }
  .review-author { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mud); }

  /* ── BOOKING CTA ── */
  .booking {
    background: var(--sea);
    padding: 7rem 0; text-align: center;
    position: relative; overflow: hidden;
  }
  .booking::before {
    content: ''; position: absolute; inset: 0;
    background: url('booking-bg.jpg') center/cover no-repeat;
    opacity: 0.18;
  }
  .booking .section-label { color: var(--horizon); }
  .booking .section-title { color: var(--white); margin-bottom: 1rem; }
  .booking .section-title em { color: var(--sand); }
  .booking p { color: rgba(200,190,168,0.85); margin-bottom: 2.5rem; font-size: 0.95rem; max-width: 520px; margin-left: auto; margin-right: auto; }
  .booking-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

  /* ── FOOTER ── */
  footer {
    background: var(--deep); padding: 4rem 0 2rem;
    border-top: 1px solid rgba(200,190,168,0.15);
  }
  .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
  .footer-brand { font-family: var(--ff-head); font-size: 1.2rem; color: var(--sand); margin-bottom: 1rem; }
  .footer-brand span { display: block; font-family: var(--ff-body); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--horizon); margin-top: 0.3rem; }
  .footer-desc { font-size: 0.82rem; color: rgba(200,190,168,0.65); line-height: 1.8; }
  .footer-col h4 { font-family: var(--ff-body); font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--horizon); margin-bottom: 1.2rem; }
  .footer-col a, .footer-col p { display: block; font-size: 0.82rem; color: rgba(200,190,168,0.7); text-decoration: none; margin-bottom: 0.6rem; transition: color 0.2s; }
  .footer-col a:hover { color: var(--sand); }
  .footer-bottom { border-top: 1px solid rgba(200,190,168,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; }
  .footer-bottom p { font-size: 0.72rem; color: rgba(200,190,168,0.45); }

  /* ── LANG TOGGLE ── */
  [data-lang="en"] { display: none; }
  body.en [data-lang="de"] { display: none; }
  body.en [data-lang="en"] { display: block; }
  body.en .nav-links [data-lang="en"], body.en .apt-desc[data-lang="en"],
  body.en span[data-lang="en"], body.en p[data-lang="en"] { display: block; }
  body.en inline-en { display: inline; }

  /* ── MOBILE ── */
  /* ── HAMBURGER MENU ── */
  .nav-hamburger {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    width: 2.2rem; height: 2.2rem;
    background: none; border: none; cursor: pointer; gap: 5px; padding: 0;
  }
  .nav-hamburger span {
    display: block; width: 22px; height: 1.5px;
    background: var(--sand); transition: all 0.3s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* Mobile overlay menu */
  .mobile-menu {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(44,58,58,0.98); z-index: 99;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: var(--ff-head); font-size: 2rem; font-weight: 300;
    color: var(--sand); text-decoration: none; letter-spacing: 0.05em;
  }
  .mobile-menu a:hover { color: var(--horizon); }
  .mobile-menu-lang {
    display: flex; gap: 1rem; margin-top: 1rem;
  }
  .mobile-menu-lang button {
    background: none; border: 1px solid var(--sand); color: var(--sand);
    padding: 0.4rem 1.2rem; cursor: pointer; font-family: var(--ff-body);
    font-size: 0.8rem; letter-spacing: 0.15em;
  }
  .mobile-menu-lang button.active { background: var(--sand); color: var(--deep); }

  @media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hero-content { padding: 0 1.2rem 4rem; }
    .hero-content h1 { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .hero-sub { font-size: 1rem; }
    .btn-primary, .btn-outline { padding: 0.85rem 1.5rem; font-size: 0.68rem; }
    .btn-outline { margin-left: 0; margin-top: 0.8rem; display: block; }
    .intro-grid, .hallig-grid, .anreise-grid { grid-template-columns: 1fr; gap: 2rem; }
    .apt-card, .apt-card:nth-child(2) { flex-direction: column !important; min-height: auto; }
    .apt-card .apt-img-wrap { flex: none; }
    .apt-card img { min-height: 280px; height: 280px !important; }
    .apt-overlay { padding: 2rem 1.5rem !important; }
    .apt-name { font-size: 2.2rem !important; }
    .apt-desc { font-size: 0.84rem !important; }
    .intro-img-caption { right: 0; bottom: -1rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .g-item.tall { grid-row: span 1; }
    .g-item.wide { grid-column: span 2; }
    .reviews-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    /* Gäste-Info 3-col → 1-col */
    #gaestefinfo [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
    #gaestefinfo [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
    /* AGB 2-col → 1-col */
    #agb [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    #agb [style*="display:grid"] { grid-template-columns: 1fr !important; }
    /* Impressum 2-col → 1-col */
    #impressum [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    #impressum [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    /* Contact 2-col → 1-col */
    #kontakt [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    #kontakt [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
    /* Booking tabs */
    .booking-tabs { flex-direction: column !important; }
    #tab-wl, #tab-ag { font-size: 0.65rem !important; padding: 0.8rem 0.5rem !important; letter-spacing: 0.05em !important; }
    /* Section padding */
    section { padding: 4rem 0 !important; }
    .container { padding: 0 1.2rem; }
    .section-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    /* Cookie banner */
    #cookie-banner { padding: 1rem 1.2rem; flex-direction: column; gap: 0.8rem; }
    /* Hallig facts */
    .hallig-facts { flex-wrap: wrap; gap: 1.5rem !important; }
    /* Anreise contact panel */
    [style*="display:flex;flex-wrap:wrap"] { flex-direction: column; }
    /* Smoobu widget */
    #book-wl, #book-ag { min-height: 600px; }
  }

  @media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .apt-tags { flex-wrap: wrap; }
    .hallig-facts { grid-template-columns: 1fr 1fr; }
  }

  /* Named grid classes for responsive overrides */
  @media (max-width: 768px) {
    .info-grid-3col { grid-template-columns: 1fr !important; }
    .agb-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .impressum-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    #kontakt .contact-grid { grid-template-columns: 1fr !important; }
  }

  /* ── LEGAL ACCORDION ── */
  .legal-acc-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    user-select: none;
    gap: 0.5rem;
  }
  .legal-acc-toggle {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--horizon);
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
    transition: transform 0.3s;
    display: none;
  }
  .legal-acc-body {
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  @media (max-width: 768px) {
    .legal-acc-toggle { display: block; }
    .legal-acc-header { padding-bottom: 0.25rem; margin-bottom: 0 !important; }
  }

/* ── APARTMENT GALLERIES ── */
.apt-gallery-section {
  background: var(--white);
  padding: 5rem 0;
  border-top: 1px solid var(--sand);
}
.apt-gallery-section:nth-of-type(even) { background: var(--salt); }

.gallery-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 12px;
  margin-top: 2.5rem;
  height: 520px;
}
.gallery-main {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}
.gallery-main .img-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(30,44,44,0.7));
  color: rgba(232,224,208,0.9);
  font-family: var(--ff-body); font-size: 0.68rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1.5rem 1.2rem 0.8rem;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  overflow: hidden;
}
.gallery-thumb {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease, filter 0.3s;
  filter: brightness(0.88);
}
.gallery-thumb:hover img, .gallery-thumb.active img {
  transform: scale(1.06);
  filter: brightness(1);
}
.gallery-thumb.active::after {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid var(--sand);
}
.gallery-thumb.more-overlay {
  position: relative;
}
.gallery-thumb.more-overlay::before {
  content: attr(data-count);
  position: absolute; inset: 0;
  background: rgba(44,58,58,0.72);
  color: var(--sand);
  font-family: var(--ff-head);
  font-size: 1.8rem; font-weight: 300;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}

/* LIGHTBOX */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(20,30,30,0.96);
  align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
#lb-close {
  position: absolute; top: 1.5rem; right: 2rem;
  color: var(--sand); font-size: 2rem; cursor: pointer;
  background: none; border: none; line-height: 1;
}
#lb-prev, #lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(232,224,208,0.15); border: none;
  color: var(--sand); font-size: 2rem; cursor: pointer;
  padding: 1rem 1.2rem; transition: background 0.2s;
}
#lb-prev:hover, #lb-next:hover { background: rgba(232,224,208,0.3); }
#lb-prev { left: 1.5rem; }
#lb-next { right: 1.5rem; }
#lb-counter {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(232,224,208,0.6); font-size: 0.75rem; letter-spacing: 0.2em;
}

.apt-info-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem; margin-top: 2.5rem;
}
.apt-info-item {
  border-left: 2px solid var(--sand);
  padding-left: 1rem;
}
.apt-info-item strong { display: block; font-size: 0.85rem; color: var(--deep); margin-bottom: 0.25rem; }
.apt-info-item span { font-size: 0.78rem; color: var(--mud); }

@media (max-width: 768px) {
  .gallery-layout { grid-template-columns: 1fr; height: auto; }
  .gallery-main { height: 260px; }
  .gallery-thumbs { grid-template-rows: 90px; grid-template-columns: repeat(5, 1fr); height: 90px; }
  .apt-info-grid { grid-template-columns: 1fr 1fr; }
  .apt-gallery-section { padding: 3rem 0 !important; }
}
@media (max-width: 480px) {
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .apt-info-grid { grid-template-columns: 1fr; }
}


/* ── APARTMENT SLIDER ── */
.apt-slider { margin-top: 2.5rem; }
.slider-stage {
  position: relative; overflow: hidden; cursor: zoom-in;
  background: var(--deep); height: 520px;
}
.slider-stage > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  image-orientation: from-image; transition: opacity 0.3s ease;
}
.slider-label {
  position: absolute; bottom: 0; left: 0; right: 0; pointer-events: none;
  background: linear-gradient(transparent, rgba(30,44,44,0.72));
  color: rgba(232,224,208,0.9); font-size: 0.62rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1.5rem 1.2rem 0.8rem;
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(30,44,44,0.45); border: none; color: var(--sand);
  font-size: 3rem; line-height: 1; padding: 0.15rem 0.7rem;
  cursor: pointer; transition: background 0.2s; user-select: none; z-index: 2;
}
.slider-arrow:hover { background: rgba(30,44,44,0.85); }
.slider-prev { left: 0; }
.slider-next { right: 0; }
.slider-counter {
  position: absolute; bottom: 0.75rem; right: 1rem; pointer-events: none;
  background: rgba(30,44,44,0.45); color: var(--sand);
  font-size: 0.68rem; letter-spacing: 0.1em; padding: 0.2rem 0.55rem;
}
.slider-thumbstrip {
  display: flex; gap: 5px; margin-top: 5px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; scrollbar-width: none;
}
.slider-thumbstrip::-webkit-scrollbar { display: none; }
.sthumb {
  flex: 0 0 100px; height: 68px; overflow: hidden;
  cursor: pointer; scroll-snap-align: start;
  opacity: 0.55; transition: opacity 0.2s;
}
.sthumb.active { opacity: 1; outline: 2px solid var(--sand); outline-offset: -2px; }
.sthumb:hover  { opacity: 0.9; }
.sthumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; image-orientation: from-image;
}
/* Rotation-Fix auch für alte Galerie + Lightbox */
.gallery-main img, .gallery-thumb img, #lb-img { image-orientation: from-image; }

@media (max-width: 768px) {
  .slider-stage { height: 260px; }
  .sthumb { flex: 0 0 72px; height: 50px; }
  .apt-slider { margin-top: 1.5rem; }
}
