/* Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #555; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

/* Navigation */
.site-header { background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 0 #e7e7e7; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 0 20px; min-height: 55px; }
.nav-logo { display: block; line-height: 0; }
.nav-logo img { height: 32px; width: auto; }

.nav-menu, .sub { list-style: none; margin: 0; padding: 0; }
.nav-menu a, .sub-toggle {
  display: block; font: inherit; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px; text-decoration: none;
  color: #555; background: none; border: 0; cursor: pointer; text-align: left;
}
.nav-menu a:hover, .sub-toggle:hover { color: #999; }
.nav a:focus-visible, .nav button:focus-visible { outline: 2px solid #47b475; outline-offset: 2px; }
.sub-toggle::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }

/* Mobil */
.nav-toggle { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 22px; height: 2px; background: #555; position: relative; content: ""; transition: transform .2s, background .2s; }
.nav-toggle-bar::before { position: absolute; left: 0; top: -7px; }
.nav-toggle-bar::after { position: absolute; left: 0; top: 7px; }
.nav.is-open .nav-toggle-bar { background: transparent; }
.nav.is-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

.nav-menu { display: none; flex-basis: 100%; padding: 6px 0 14px; }
.nav.is-open .nav-menu { display: block; }
.nav-menu > li > a, .nav-menu > li > .sub-toggle { padding: 12px 4px; width: 100%; border-top: 1px solid #eee; }
.sub { display: none; padding: 0 0 6px 14px; }
.has-sub.open > .sub { display: block; }
.sub a { padding: 9px 4px; font-weight: 400; }

/* Desktop */
@media (min-width: 992px) {
  .nav { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .nav-menu { display: flex; flex-basis: auto; align-items: center; padding: 0; gap: 4px; }
  .nav-menu > li { position: relative; }
  .nav-menu > li > a, .nav-menu > li > .sub-toggle { padding: 20px 12px; width: auto; border-top: 0; }
  .sub { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px 0; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
  .sub a { padding: 9px 18px; }
}

/* Allgemein */
body { font-size: 13px; line-height: 24px; color: #666; }
h1, h2, h5 { font-weight: 300; color: #292929; margin: 0 0 24px; }
h2 { font-size: 40px; line-height: 48px; }
p { font-size: 12px; margin: 0 0 24px; }
a { color: #47b475; font-weight: 600; text-decoration: none; transition: color .3s; }
a:hover { color: #398f5d; }
hr { border: 0; border-top: 1px solid #ccc; margin: 0 0 24px; width: 100%; }
.container { width: 100%; margin: 0 auto; padding: 0 15px; }
@media (min-width: 768px) { .container { max-width: 750px; } }
@media (min-width: 992px) { .container { max-width: 970px; } }
@media (min-width: 1200px) { .container { max-width: 1170px; } }
section { position: relative; overflow: hidden; padding: 96px 0; }
.lead { font-size: 16px; line-height: 28px; font-weight: 400; }
.btn { display: inline-block; min-width: 150px; height: 40px; padding: 0 26px; margin: 0 8px 24px 0; line-height: 36px; border: 2px solid #47b475; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-align: center; color: #47b475; transition: all .3s; }
.btn:hover { background: #47b475; color: #fff; }

/* Kopfbild */
.hero, .bild-text { color: #fff; }
.hero::before, .bild-text::before { content: ""; position: absolute; inset: 0; background: #292929; opacity: .3; z-index: 1; }
.hero-bg, .bild-text-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .container, .bild-text .container { position: relative; z-index: 2; }
.hero { padding: clamp(100px, 16vw, 240px) 0; }
.hero h1 { color: #fff; font-size: clamp(40px, 5vw, 72px); line-height: 1.1; font-weight: 100; margin-bottom: 40px; }
.hero .lead, .bild-text .lead { color: #fff; margin-bottom: 40px; }
.hero .container > * { max-width: 50%; }
@media (max-width: 767px) { .hero .container > * { max-width: 100%; } }

/* Drei Textspalten */
.columns-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 767px) { .columns-3 { grid-template-columns: 1fr; } }

/* Schwerpunkte */
.schwerpunkte { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 60px; align-items: center; }
.schwerpunkte-titel { color: #47b475; text-transform: uppercase; font-weight: 400; letter-spacing: 6px; font-size: clamp(28px, 7vw, 40px); }
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.kachel { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 100px; padding: 32px 16px; border: 1px solid #ccc; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; }
.kachel:hover { border-color: #47b475; }
@media (max-width: 900px) { .schwerpunkte { grid-template-columns: minmax(0, 1fr); gap: 30px; } }

/* Bild mit Text */
.bild-text { text-align: center; padding: clamp(80px, 10vw, 140px) 0; }
.bild-text h2 { margin-bottom: 16px; }
.bild-text .btn { color: #fff; border-color: #fff; }
.bild-text .btn:hover { background: #47b475; border-color: #47b475; }

/* Footer */
.site-footer { background: #fef17e; color: #292929; padding: 72px 0; }
.site-footer p { color: #292929; }
.site-footer a { color: #292929; }
.site-footer a:hover { color: #000; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.footer-col { text-align: center; }
.footer-col img { display: block; margin-left: auto; margin-right: auto; }
.footer-center { text-align: center; }
.footer-center iframe { display: block; width: 100%; border: 0; }
.footer-logo { width: 220px; max-width: 100%; height: auto; margin: 0 auto 24px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: block; margin-bottom: 16px; font-size: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: 2px; }
@media (min-width: 576px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: 2fr 2fr 3fr 3fr; max-width: 936px; } }

/* Fachseite */
.artikel { padding: 96px 0; }
.artikel .container { max-width: 750px; }
.artikel-kopf { text-align: center; margin-bottom: 40px; }
.artikel-kopf h2, .zwischentitel { text-transform: uppercase; letter-spacing: 4px; font-weight: 400; font-size: clamp(26px, 5vw, 40px); }
.zwischentitel { text-align: center; font-size: 24px; line-height: 32px; margin-top: 48px; }
.artikel h3 { font-size: 22px; line-height: 30px; font-weight: 400; margin: 40px 0 16px; }
.artikel-bild { display: block; width: 100%; max-width: 460px; height: auto; margin: 32px auto; }
.artikel details { margin: 0 0 24px; }
.artikel summary { cursor: pointer; font-size: 14px; line-height: 28px; }
.artikel p { font-size: 16px; line-height: 28px; }
.artikel ul, .artikel ol { font-size: 12px; margin: 0 0 24px; padding-left: 20px; }
.artikel li > ul { margin: 8px 0 0; }
.zentriert { text-align: center; }
.artikel .zentriert .btn { margin: 24px 4px 0; }
.hero p strong { text-transform: none; }
.hero .lead-fett { font-size: 18px; line-height: 28px; font-weight: 600; margin-bottom: 16px; }
.zwischentitel-normal { text-transform: none; letter-spacing: 0; }

/* Autorenbox */
.autorenbox-bereich { padding: 0 0 96px; }
.autorenbox-bereich .container { max-width: 750px; }
.autorenbox { display: flex; gap: 28px; align-items: flex-start; padding: 32px; border: 1px solid #ccc; }
.autorenbox img { flex: none; width: 140px; height: 140px; object-fit: cover; }
.autorenbox h2 { font-size: 20px; line-height: 28px; text-transform: uppercase; letter-spacing: 3px; font-weight: 400; margin-bottom: 8px; }
.autorenbox p { font-size: 13px; margin-bottom: 12px; }
.autor-datum { color: #888; }
.autor-hinweis { font-size: 11px; color: #888; }
@media (max-width: 575px) { .autorenbox { flex-direction: column; padding: 20px; } }
.autorenbox p:last-child { margin-bottom: 0; }
.autorenbox p:last-child .btn { margin-bottom: 0; }

/* Kontaktseite */
.termin-bereich { padding: 56px 0 24px; }
.termin-box { max-width: 460px; margin: 0 auto; }
.termin-box h1 { font-size: 28px; line-height: 1.2; font-weight: 400; text-transform: uppercase; letter-spacing: 4px; margin: 0 0 16px; text-align: left; }
.kontakt-bereich { padding: 40px 0 72px; }
.kontakt-grid { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 936px; margin: 0 auto; }
@media (min-width: 768px) { .kontakt-grid { grid-template-columns: 1fr 1fr; } }
.kontakt-grid h2 { font-size: 24px; font-weight: 400; text-transform: uppercase; letter-spacing: 3px; margin: 0 0 24px; }
.kontakt-grid p { font-size: 12px; line-height: 22px; }
.kontakt-daten { border-top: 1px solid #ddd; padding-top: 24px; margin-top: 24px; }
.kontakt-form label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.kontakt-form input[type="text"], .kontakt-form input[type="email"], .kontakt-form input[type="tel"], .kontakt-form textarea { width: 100%; box-sizing: border-box; background: #f4f4f4; border: 0; padding: 14px 15px; font: inherit; font-size: 14px; margin-bottom: 18px; }
.kontakt-form textarea { min-height: 130px; resize: vertical; }
.kontakt-form .datenschutz-text { font-size: 10px; line-height: 18px; color: #666; margin: 0 0 16px; }
.kontakt-form .zustimmung { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; font-weight: 700; text-transform: none; letter-spacing: 0; margin-bottom: 20px; }
.kontakt-form .zustimmung input { margin-top: 3px; }
.kontakt-form button { width: 100%; background: #47b475; color: #fff; border: 0; padding: 16px; font: inherit; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; }
.kontakt-form button:hover { background: #3a9a63; }
.kontakt-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-meldung { padding: 14px 16px; margin: 0 0 20px; font-size: 13px; }
.form-meldung.ok { background: #e3f4ea; color: #1d6b3d; }
.form-meldung.fehler { background: #fbe7e7; color: #9b2020; }

/* Rechtsseiten (Impressum, Datenschutz): ohne Menü und Fuß */
.rechtsseite { padding: 64px 0 80px; }
.rechtsseite h1 { text-align: center; }
.rechtsseite h2 { font-size: 24px; line-height: 1.3; margin: 40px 0 16px; }
.rechtsseite h3 { font-size: 18px; margin: 28px 0 12px; }
.rechtsseite h4 { font-size: 15px; margin: 22px 0 10px; }
.rechtsseite p, .rechtsseite li { font-size: 14px; line-height: 24px; }
.rechtsseite a { word-break: break-word; }
