﻿* { box-sizing: border-box; }
:root {
  --blue: #2f628f;
  --blue-dark: #204666;
  --green: #16833a;
  --green-dark: #0e642b;
  --text: #23313d;
  --muted: #63717d;
  --line: #d5dee5;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --page: #eef2f4;
}
html { font-size: 16px; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--page);
}
a { color: var(--blue-dark); text-underline-offset: 2px; }
a:hover, a:focus { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; }

.site-header {
  background: var(--paper);
  border-bottom: 5px solid var(--green);
  box-shadow: 0 1px 6px rgba(25, 48, 65, .10);
}
.site-header-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: .7rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  text-decoration: none;
}
.brand-logo {
  width: 86px;
  height: 70px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-text { display: grid; line-height: 1.12; }
.brand-text strong {
  color: var(--green-dark);
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  letter-spacing: -.02em;
}
.brand-text span {
  margin-top: .22rem;
  color: var(--blue-dark);
  font-size: clamp(.95rem, 1.8vw, 1.18rem);
  font-weight: 700;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 1.2rem auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
}
.sidebar { display: grid; gap: 1rem; }
.sidebar nav,
.contact-card,
.location-card,
.main-content {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: .55rem;
  box-shadow: 0 2px 8px rgba(35, 49, 61, .05);
  overflow: hidden;
}

.nav-list { list-style: none; padding: 0; margin: 0; }
.nav-list a {
  display: block;
  padding: .76rem .95rem;
  border-top: 1px solid #e1e7ec;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 700;
}
.nav-list li:first-child a { border-top: 0; }
.nav-list a:hover,
.nav-list a:focus { background: #edf5f9; }
.nav-list a[aria-current="page"] {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.mobile-nav-title {
  margin: 0;
  padding: .72rem .95rem;
  background: var(--soft);
  color: var(--green-dark);
  border-bottom: 1px solid var(--line);
}

.contact-card,
.location-card { padding: 1rem; }
.contact-card { border-top: 4px solid var(--green); }
.location-card { border-top: 4px solid var(--blue); }
.contact-card h2,
.location-card h2 {
  margin: 0 0 .7rem;
  font-size: 1.08rem;
  color: var(--blue-dark);
}
.contact-card p { margin: .55rem 0; overflow-wrap: normal; word-break: normal; }
.contact-name { color: var(--text); }
.contact-label { color: var(--muted); font-size: .88rem; text-transform: uppercase; letter-spacing: .04em; }
.contact-hint { color: var(--muted); font-size: .88rem; }
.map-frame { width: 100%; aspect-ratio: 1 / 1; border: 0; display: block; }

.main-content { padding: clamp(1.2rem, 3.3vw, 2.4rem); }
.eyebrow {
  margin: 0 0 .2rem;
  color: var(--green-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
}
.main-content h1,
.main-content h2,
.main-content h3 { line-height: 1.2; }
.main-content h1 {
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
}
.main-content h2 { color: var(--blue-dark); }
.lead { font-size: 1.08rem; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}
.info-box {
  background: #f7f9fa;
  border-left: 4px solid var(--blue);
  padding: 1rem 1.1rem;
  border-radius: .35rem;
}
.info-box h2 { margin: 0 0 .55rem; font-size: 1.25rem; }
.info-box p { margin: 0; }

.benefits {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: #f2f8f3;
  border-left: 4px solid var(--green);
  border-radius: .35rem;
}
.benefits h2 { margin: 0 0 .6rem; font-size: 1.3rem; }
.feature-list { padding-left: 1.25rem; margin-bottom: 0; }
.feature-list li { margin: .38rem 0; }
.section-title { margin: 2rem 0 .8rem; font-size: 1.45rem; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.offer-card {
  border: 1px solid var(--line);
  border-radius: .55rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 7px rgba(35, 49, 61, .05);
}
.offer-card img {
  width: 100%;
  aspect-ratio: 17 / 10;
  object-fit: cover;
  display: block;
}
.offer-card-body { padding: .95rem; }
.offer-card h3 { margin: 0 0 .65rem; color: var(--green-dark); font-size: 1.06rem; }
.offer-card p { margin: .28rem 0; }

.site-footer {
  background: var(--blue-dark);
  color: #fff;
  margin-top: 1.2rem;
}
.site-footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
}
.site-footer a { color: #fff; }

@media (max-width: 900px) {
  .page-shell { grid-template-columns: 205px minmax(0, 1fr); }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .site-header-inner,
  .page-shell,
  .site-footer-inner { width: min(100% - 1rem, 700px); }
  .brand { gap: .7rem; }
  .brand-logo { width: 64px; height: 54px; }
  .page-shell { display: block; margin: .6rem auto; }
  .sidebar { margin-bottom: .8rem; gap: .7rem; }
  .nav-list { display: grid; grid-template-columns: 1fr 1fr; }
  .nav-list a { border-right: 1px solid #e1e7ec; }
  .contact-card,
  .location-card { padding: .9rem; }
  .map-frame { aspect-ratio: 16 / 9; }
  .main-content { padding: 1.05rem; }
  .offer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .brand-logo { width: 54px; height: 48px; }
  .brand-text strong { font-size: 1.18rem; }
  .brand-text span { font-size: .88rem; }
  .nav-list { grid-template-columns: 1fr; }
  .site-footer-inner { display: block; }
  .site-footer-inner > * { display: block; margin: .45rem 0; }
}


/* Ergänzungen für die Unterseiten */
.large-map { width:100%; min-height:420px; border:0; display:block; border-radius:.45rem; margin-top:1rem; }
.address-box, .contact-action { margin:1.25rem 0; padding:1rem 1.15rem; background:#f7f9fa; border-left:4px solid var(--blue); border-radius:.35rem; }
.address-box h2, .contact-action h2 { margin:.05rem 0 .5rem; font-size:1.3rem; }
.info-box.standalone { margin-top:1.4rem; }
.offer-grid.compact .offer-card img { aspect-ratio: 1 / 1; object-fit:cover; }
.button-link { display:inline-block; padding:.65rem 1rem; border-radius:.35rem; background:var(--green-dark); color:#fff; text-decoration:none; font-weight:700; }
.button-link:hover, .button-link:focus { background:var(--green); }
.people-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin-top:1.4rem; }
.person-card { overflow:hidden; border:1px solid var(--line); border-radius:.55rem; background:#fff; box-shadow:0 2px 7px rgba(35,49,61,.05); }
.person-card img { width:100%; aspect-ratio:4/5; object-fit:cover; object-position:center top; display:block; }
.person-card-body { padding:.85rem .95rem 1rem; }
.person-card h2 { margin:0 0 .25rem; font-size:1.15rem; color:var(--blue-dark); }
.person-card p { margin:0; color:var(--muted); }
.event-list { display:grid; gap:.85rem; margin-top:1.3rem; }
.event-card { display:grid; grid-template-columns:125px 1fr; gap:1rem; align-items:center; padding:1rem 1.1rem; border:1px solid var(--line); border-left:4px solid var(--green); border-radius:.45rem; background:#fff; }
.event-card time { font-weight:700; color:var(--green-dark); }
.event-card h2 { margin:0; font-size:1.2rem; }
@media (max-width:900px){ .people-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:700px){ .large-map{min-height:330px;} .event-card{grid-template-columns:1fr;gap:.25rem;} }
@media (max-width:480px){ .people-grid{grid-template-columns:1fr;} }


/* Rechtliche Seiten */
.legal-page h2 { margin-top: 1.6rem; }
.legal-page p { max-width: 75ch; }
.legal-note { margin: 1.25rem 0; padding: 1rem; border: 1px solid #c58b00; border-radius: 8px; background: #fff8df; }
.map-link a { display: inline-block; padding: .7rem 1rem; border-radius: 8px; background: #eef5f8; font-weight: 700; }
