/* ══════════════════════════════════════════════════════
   WOHNPARK BROICHERDORF – Stylesheet
   ══════════════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --nav-bg:      #2a3d52;
  --nav-hover:   #3d5a74;
  --nav-cta:     #5c8a3c;
  --accent:      #6d9650;
  --accent-dark: #3e6128;
  --amber:       #c8943a;
  --topbar-bg:   #1e2d3e;
  --text:        #2c2c2c;
  --text-light:  #555;
  --sand:        #f4f1ea;
  --white:       #ffffff;
  --black:       #000000;
  --dark-sec:    #1e2a1a;
  --border:      #ddd8ce;
  --max-w:       1160px;
  --nav-h:       64px;
  --font-h:      'Raleway', sans-serif;
  --font-b:      'Open Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); color: var(--text); background: #fff; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ══════════════════════════════════════════════════════
   TOP BAR
   ══════════════════════════════════════════════════════ */
.topbar {
  background: var(--topbar-bg);
  color: rgba(255,255,255,.55);
  font-size: .76rem;
  letter-spacing: .04em;
}
.topbar__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 6px 0px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.topbar__links { display: flex; gap: 16px; }
.topbar__links a { color: rgba(255,255,255,.45); transition: color .15s; }
.topbar__links a:hover { color: rgba(255,255,255,.9); }

/* ══════════════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--nav-bg);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  height: var(--nav-h);
  display: flex; align-items: center;
}
.site-header__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 0px;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

/* Logo */
.site-header__logo-link {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.site-header__logo-icon {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--accent);
  color: #fff; font-family: var(--font-h); font-weight: 800; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
}
.site-header__logo-main {
  display: block; font-family: var(--font-h); font-weight: 700;
  font-size: .95rem; color: #fff; line-height: 1.2;
}
.site-header__logo-sub {
  display: block; font-size: .68rem; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .1em;
}

/* Main Nav */
.main-nav__list {
  display: flex; align-items: center; gap: 2px; flex-wrap: wrap;
}
.main-nav__item > a {
  display: block; padding: 8px 13px; border-radius: 5px;
  font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.8);
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.main-nav__item > a:hover,
.main-nav__item--active > a { background: rgba(255,255,255,.12); color: #fff; }
.arrow { font-size: .65rem; vertical-align: middle; }

/* Dropdown */
.main-nav__item--has-sub { position: relative; }
.main-nav__sub {
  position: absolute; top: calc(100%); left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 175px;
  background: #fff; border-radius: 8px;
  box-shadow: 0 6px 28px rgba(0,0,0,.16);
  border: 1px solid var(--border);
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 10;
}
.main-nav__item--has-sub:hover .main-nav__sub {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.main-nav__sub li a {
  display: block; padding: 9px 16px;
  font-size: .82rem; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.main-nav__sub li:last-child a { border-bottom: none; }
.main-nav__sub li a:hover { background: var(--sand); color: var(--accent); }

/* Intern + CTA buttons */
.main-nav__item--intern > a {
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.2);
}
.main-nav__item--intern > a:hover { background: rgba(255,255,255,.1); color: #fff; }
.main-nav__item--cta > a {
  background: var(--accent); color: #fff !important;
  border-radius: 5px; padding: 7px 16px;
}
.main-nav__item--cta > a:hover { background: var(--accent-dark); }

/* Burger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,.85); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.main-nav.mobile-open {
  position: fixed; top: calc(var(--nav-h) + 28px); left: 0; right: 0; bottom: 0;
  background: var(--nav-bg); z-index: 800; overflow-y: auto; padding: 12px 0;
}
.main-nav.mobile-open .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.main-nav.mobile-open .main-nav__item > a { font-size: 1rem; padding: 14px 24px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.main-nav.mobile-open .main-nav__sub {
  position: static; transform: none; opacity: 1; pointer-events: all;
  box-shadow: none; border: none; border-radius: 0;
  background: rgba(0,0,0,.15);
}
.main-nav.mobile-open .main-nav__sub li a { padding: 10px 36px; color: rgba(255,255,255,.65); border-bottom: 1px solid rgba(255,255,255,.05); background: none; }
.main-nav.mobile-open .main-nav__sub li a:hover { color: #fff; background: rgba(255,255,255,.05); }

/* ══════════════════════════════════════════════════════
   HERO SLIDER
   ══════════════════════════════════════════════════════ */
.slider {
  position: relative; overflow: hidden;
  width: 100%;
  height: 600px;
  background: var(--nav-bg);
}
.slider__track {
  display: flex;
  width: 100%; height: 100%;
  transition: transform .65s cubic-bezier(.4,0,.2,1);
}
.slider__slide {
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%; height: 100%;
  background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end;
}
.slider__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,30,20,.75) 0%, rgba(20,30,20,.25) 50%, rgba(20,30,20,.1) 100%);
}
.slider__caption {
  position: relative; z-index: 1;
  padding: 0 60px 60px;
  max-width: 1040px;
}
.slider__eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.6); font-weight: 600;
  border-left: 3px solid var(--accent); padding-left: 10px;
}
.slider__title {
  font-family: var(--font-h); font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.slider__sub { color: rgba(255,255,255,.78); font-size: 1rem; max-width: 1040px; }

/* Arrows */
.slider__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.35); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2); color: #fff;
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s;
  z-index: 5;
}
.slider__btn:hover { background: rgba(0,0,0,.6); }
.slider__btn--prev { left: 20px; }
.slider__btn--next { right: 20px; }

/* Dots */
.slider__dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.slider__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: none; cursor: pointer;
  transition: background .2s, transform .2s;
}
.slider__dot.active { background: #fff; transform: scale(1.25); }

/* ══════════════════════════════════════════════════════
   INTRO STRIP
   ══════════════════════════════════════════════════════ */
.intro-strip {
  background: var(--accent);
  color: #fff;
}
.intro-strip__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.intro-strip__item {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,.2);
  font-size: .88rem;
}
.intro-strip__item:last-child { border-right: none; }
.intro-strip__icon { font-size: 1.5rem; flex-shrink: 0; }
.intro-strip__item strong { display: block; font-weight: 700; font-size: .92rem; }
.intro-strip__item small { color: rgba(255,255,255,.72); font-size: .78rem; }

/* ══════════════════════════════════════════════════════
   CONTENT SECTIONS
   ══════════════════════════════════════════════════════ */
.content-section { padding: 80px 24px; }
.content-section--alt { background: var(--sand); }
.content-section__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: top;
}
.content-section__inner--reverse { direction: rtl; }
.content-section__inner--reverse > * { direction: ltr; }

.content-section__text { }
.section-eyebrow {
  display: inline-block; margin-bottom: 8px;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); font-weight: 700;
}
.section-title {
  font-family: var(--font-h); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800; color: var(--nav-bg); line-height: 1.2; margin-bottom: 18px;
}
.content-section__text p { color: var(--text-light); line-height: 1.75; margin-bottom: 14px; font-size: .95rem; }
.content-section__text p:last-of-type { margin-bottom: 20px; }

.lage-list { margin: 12px 0 24px 0; display: flex; flex-direction: column; gap: 6px; }
.lage-list li { font-size: .9rem; color: var(--text-light); }

/* Buttons */
.btn {
  display: inline-block; padding: 11px 24px; border-radius: 6px;
  font-weight: 700; font-size: .88rem; cursor: pointer;
  transition: transform .15s, filter .15s;
  letter-spacing: .02em;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--outline {
  background: transparent; color: var(--accent);
  border: 2px solid var(--accent);
}
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* Media */
.content-section__img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  aspect-ratio: 4/3; object-fit: cover;
}
.img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 12px; background: var(--sand);
  border: 2px dashed var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 3rem; color: var(--text-light); gap: 8px;
}

/* ══════════════════════════════════════════════════════
   IMPRESSIONEN
   ══════════════════════════════════════════════════════ */
.impressionen-section {
  background: var(--dark-sec);
  padding: 80px 24px;
  text-align: center;
}
.impressionen-section__inner { max-width: var(--max-w); margin: 0 auto; }
.impressionen-section .section-title { color: #fff; margin-bottom: 36px; }
.impressionen-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.impressionen-item {
  position: relative; overflow: hidden; border-radius: 8px;
  aspect-ratio: 4/3; background: #1a2a1a;
  display: block; cursor: pointer;
}
.impressionen-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.impressionen-item:hover img { transform: scale(1.06); }
.impressionen-item__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.0);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s;
}
.impressionen-item__overlay span {
  color: #fff; font-weight: 600; font-size: .85rem;
  opacity: 0; transition: opacity .25s;
}
.impressionen-item:hover .impressionen-item__overlay { background: rgba(0,0,0,.35); }
.impressionen-item:hover .impressionen-item__overlay span { opacity: 1; }
.impressionen-item--empty {
  background: #1a2a1a;
  border: 1px solid rgba(255,255,255,.1);
}

/* ══════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--nav-bg); color: rgba(255,255,255,.6);
}
.site-footer__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 60px 0px 40px;
/*  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px;*/
  display: grid; grid-template-columns: 1fr 150px 150px 150px 160px; gap: 25px;
}
.site-footer__logo {
  font-family: var(--font-h); font-size: 1.1rem;
  font-weight: 800; color: #fff; margin-bottom: 10px;
}
.site-footer__tagline { font-size: .85rem; line-height: 1.65; }
.site-footer__heading {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.35); font-weight: 700; margin-bottom: 14px;
}
.site-footer__links li { margin-bottom: 6px; }
.site-footer__links a { font-size: .88rem; transition: color .15s; }
.site-footer__links a:hover { color: #fff; }

.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 18px 0px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: .78rem;
}
.site-footer__bottom-links { display: flex; gap: 18px; }
.site-footer__bottom-links a:hover { color: rgba(255,255,255,.9); }

/* ══════════════════════════════════════════════════════
   INNER PAGE HERO
   ══════════════════════════════════════════════════════ */
.page-hero {
  background: var(--nav-bg);
  padding: 48px 24px 40px;
  text-align: center;
}
.page-hero__eyebrow {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .14em;
  color: rgba(255,255,255,.45); margin-bottom: 8px; display: block;
}
.page-hero__title {
  font-family: var(--font-h); font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: #fff;
}
.breadcrumb {
  font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 10px;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: #fff; }

/* ══════════════════════════════════════════════════════
   INNER PAGE CONTENT
   ══════════════════════════════════════════════════════ */
.inner-section { padding: 64px 24px; }
.inner-section--alt { background: var(--sand); }
.inner-container { max-width: 900px; margin: 0 auto; }
.inner-container--wide { max-width: var(--max-w); margin: 0 auto; }
.inner-title {
  font-family: var(--font-h); font-size: 1.6rem; font-weight: 800;
  color: var(--nav-bg); margin-bottom: 16px; line-height: 1.2;
}
.inner-section p { color: var(--text-light); line-height: 1.8; margin-bottom: 14px; font-size: .95rem; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 10px; }
.card {
  background: #fff; border-radius: 12px; padding: 28px 24px;
  border: 1px solid var(--border); box-shadow: 0 3px 16px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.card__icon { font-size: 2rem; margin-bottom: 12px; }
.card__icon label_red { font-weight: 600; color: #ff0000; }
.card__title { font-family: var(--font-h); font-size: 1.05rem; font-weight: 700; color: var(--nav-bg); margin-bottom: 8px; }
.card__text { color: var(--text-light); font-size: .88rem; line-height: 1.65; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.specs-table tr { border-top: 1px solid var(--border); }
.specs-table tr:first-child { border-top: 0px; }
.specs-table td { padding: 10px 6px; font-size: .9rem; vertical-align: top; color: var(--text-light); }
.specs-table td:first-child { font-weight: 600; color: var(--text); width: 45%; }

/* Seperator table */
.seperator-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.seperator-table td { border-left: 1px solid var(--border); }
.seperator-table td:first-child { border-left: 0px; }
.seperator-table td { padding: 10px 6px; font-size: .9rem; vertical-align: top; color: var(--text-light); } 

.table-line { border-bottom: 1px solid var(--border); padding: 10px 0px 0px 10px; font-weight: 600; color: var(--text); }

/* Inhalt table */
.inhalt-table td { color:var(--text-light); padding-left: 20px; font-size: .8rem; }
.inhalt-table td:first-child { padding-left: 60px; border-right: 1px; }

/* Beschreibung table */
.descr-table td { color:var(--text-light); font-size: .8rem; }

/* Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag { padding: 4px 13px; border-radius: 20px; background: var(--sand); color: var(--accent); font-size: .78rem; font-weight: 600; border: 1px solid var(--border); }

/* Gallery grid */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.gallery-img {
  border-radius: 8px; overflow: hidden;
  aspect-ratio: 4/3; background: var(--sand);
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
  border: 1px solid var(--border);
}
.gallery-img img { width: 100%; height: 100%; object-fit: cover; }

/* Floor plan grid */
.floor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.floor-card {
  background: #fff; border-radius: 10px; padding: 28px;
  border: 1px solid var(--border); text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.floor-card__icon { font-size: 2rem; margin-bottom: 10px; }
.floor-card__size { font-family: var(--font-h); font-size: 1.6rem; font-weight: 800; color: var(--nav-bg); }
.floor-card__type { color: var(--text-light); font-size: .85rem; margin-top: 4px; }
.floor-card__desc { color: var(--text-light); font-size: .82rem; margin-top: 8px; line-height: 1.55; }

/* POI list */
.poi-list { }
.poi-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .9rem;
}
.poi-item:last-child { border-bottom: none; }
.poi-icon { font-size: 1.3rem; width: 30px; flex-shrink: 0; text-align: center; }
.poi-name { font-weight: 600; color: var(--text); }
.poi-sub { font-size: .78rem; color: var(--text-light); }
.poi-dist { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--amber); white-space: nowrap; }

/* Map placeholder */
.map-box {
  background: var(--sand); border-radius: 12px;
  border: 2px dashed var(--border);
  min-height: 320px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--text-light); text-align: center; padding: 24px;
}
.map-box__icon { font-size: 3rem; }




/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff; border-radius: 10px;
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  overflow: hidden;
}
.faq-item__year { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); font-weight: 700; margin-bottom: 6px; }

.faq-btn {
  width: 100%; text-align: left; padding: 16px 20px;
  font-weight: 600; font-size: .92rem; color: var(--text);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-btn svg { width: 16px; height: 16px; color: var(--text-light); transition: transform .25s; flex-shrink: 0; }
.faq-btn.open svg { transform: rotate(180deg); }
.faq-body { display: none; padding: 0 20px 16px; color: var(--text-light); font-size: .9rem; line-height: 1.75; }
.faq-body.open { display: block; }
.faq-line { border-bottom: 1px solid var(--border); padding: 10px 10px 10px 10px; font-weight: 600; color: var(--text); }
.faq-noline { border-bottom: 0px solid var(--border); padding: 10px 10px 10px 10px; font-weight: 600; color: var(--text); }

.intern_info-list { display: flex; flex-direction: column; gap: 10px; }
.intern_info-item { background: #fff;  border-bottom: 1px solid var(--border); overflow: hidden; }
.intern_info-item_noline { background: #fff; overflow: hidden; }

.intern_info-btn {
  width: 100%; text-align: left; padding: 10px 0px;
  font-family: var(--font-b); color: var(--text); background: #fff; font-size: 16px; line-height: 1.65; color: var(--text);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.intern_info-btn svg { width: 16px; height: 16px; color: var(--text-light); transition: transform .25s; flex-shrink: 0; }
.intern_info-btn.open svg { transform: rotate(180deg); }
.intern_info-body { display: none; padding: 0 0px 16px; color: var(--text-light); font-size: .9rem; line-height: 1.75; }
.intern_info-body.open { display: block; }

/*oben rechts unten links*/

/* News cards */
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item {
  background: #fff; border-radius: 10px; padding: 24px 26px;
  border: 1px solid var(--border); border-left: 4px solid var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.news-item__date { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); font-weight: 700; margin-bottom: 6px; }
.news-item__title { font-family: var(--font-h); font-size: 1.05rem; color: var(--nav-bg); margin-bottom: 8px; font-weight: 700; }
.news-item__body { color: var(--text-light); font-size: .9rem; line-height: 1.65; }

/* Login box */
.login-box {
  max-width: 440px; margin: 0 auto;
  background: #fff; border-radius: 14px; padding: 44px 40px;
  border: 1px solid var(--border); box-shadow: 0 6px 32px rgba(0,0,0,.08);
  text-align: center;
}
.login-box__icon { font-size: 3rem; margin-bottom: 14px; }
.login-box__title { font-family: var(--font-h); font-size: 1.5rem; color: var(--nav-bg); margin-bottom: 6px; }
.login-box__sub { color: var(--text-light); font-size: .9rem; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; text-align: left; }
.form-group label { display: block; margin-bottom: 5px; font-size: .82rem; font-weight: 600; color: var(--text); }
.form-group label_red { display: block; margin-bottom: 5px; font-size: .82rem; font-weight: 600; color: #ff0000; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: 7px;
  font-family: var(--font-b); font-size: .9rem; color: var(--text);
  background: #fcfcfc; outline: none; transition: border-color .18s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 130px; resize: vertical; }

/* Contact grid */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 36px; }
.contact-form-box {
  background: #fff; border-radius: 12px; padding: 36px;
  border: 1px solid var(--border); box-shadow: 0 3px 18px rgba(0,0,0,.06);
}
.contact-form-title { font-family: var(--font-h); font-size: 1.2rem; font-weight: 800; color: var(--nav-bg); margin-bottom: 22px; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-block {
  border-radius: 10px; padding: 22px;
  background: var(--nav-bg); color: #fff;
}
.contact-info-block--green { background: var(--accent); }
.contact-info-block__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 5px; }
.contact-info-block__val { font-weight: 600; font-size: .95rem; }

/* Intern grid */
.intern-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 36px; }
.intern-form-box {
  background: #fff; border-radius: 12px; padding: 36px;
  border: 1px solid var(--border); box-shadow: 0 3px 18px rgba(0,0,0,.06);
}
.intern-form-title { font-family: var(--font-h); font-size: 1.2rem; font-weight: 800; color: var(--nav-bg); margin-bottom: 22px; }
.intern-info-list { display: flex; flex-direction: column; gap: 16px; }
.intern-info-block {
  border-radius: 10px; padding: 22px;
  background: var(--nav-bg); color: #fff;
}
.intern-info-block--white { background: var(--white); }
.intern-info-block__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 5px; }
.intern-info-block__val { font-weight: 600; font-size: .95rem; }

/* Legal pages */
.legal-content h3 { font-family: var(--font-h); font-size: 1.15rem; color: var(--nav-bg); margin: 24px 0 8px; }
.legal-content p { color: var(--text-light); line-height: 1.8; margin-bottom: 12px; font-size: .92rem; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .intro-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .intro-strip__item:nth-child(2) { border-right: none; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .impressionen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.mobile-open { display: block; }
  .nav-toggle { display: flex; }
  .content-section__inner,
  .content-section__inner--reverse { grid-template-columns: 1fr; direction: ltr; }
  .content-section__inner--reverse .content-section__media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .slider__caption { padding: 0 24px 40px; }
  .slider { height: 420px; }
}

@media (max-width: 600px) {
  .intro-strip__inner { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .floor-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .impressionen-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
  .intro-strip__inner { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ── Slider image overlay technique ── */
.slider__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
/* Gradient fallbacks when images not loaded */
.slider__slide--1 {
  background: linear-gradient(135deg, #1e3a2f 0%, #2d5a3d 40%, #3a7a52 70%, #2a4d3a 100%);
}
.slider__slide--2 {
  background: linear-gradient(135deg, #1a2d4a 0%, #2a4870 40%, #1e5a4a 70%, #2a3d52 100%);
}
.slider__slide--3 {
  background: linear-gradient(135deg, #2d3a1e 0%, #4a5a2a 40%, #3a6a3a 70%, #2a4a2a 100%);
}
.slider__slide { position: relative; }
.slider__overlay { z-index: 1; }
.slider__caption { z-index: 2; }


/* ══════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════ */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,20,15,.94);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox__figure {
  position: relative;
  max-width: 92vw; max-height: 88vh;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox__img {
  max-width: 92vw; max-height: 78vh;
  width: auto; height: auto;
  border-radius: 6px;
  box-shadow: 0 12px 60px rgba(0,0,0,.5);
  background: #2a3d52;
  object-fit: contain;
}
.lightbox__caption {
  margin-top: 16px; color: rgba(255,255,255,.8);
  font-size: .92rem; text-align: center;
}
.lightbox__counter {
  margin-top: 4px; color: rgba(255,255,255,.4);
  font-size: .78rem; letter-spacing: .05em;
}
.lightbox__close {
  position: absolute; top: -18px; right: -18px;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .18s;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .18s;
  z-index: 1;
}
.lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* Make gallery items show a clickable affordance */
.impressionen-item, .gallery-img-link {
  cursor: pointer;
}

@media (max-width: 640px) {
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.1rem; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: -14px; right: 0; width: 36px; height: 36px; font-size: 1.2rem; }
}
