/* Behutsame Modernisierung – Inhalte und vorhandene Bildwelt bleiben erhalten. */
:root {
  --navy: #101d58;
  --green: #4f862b;
  --green-dark: #34751f;
  --green-soft: #f1f6eb;
  --text: #303640;
  --muted: #606a72;
  --line: #e4e9e2;
  --surface: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  background: #fff;
  color: var(--text);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
.top_page { width: 100%; background: #fff; }
.top_wrapper { width: min(100% - 32px, 1260px) !important; margin: 0 auto; text-align: center; }
.top_wrapper img.logo { display: block; width: 100% !important; max-width: 1260px; height: auto; margin: 0 auto; }
/* Logo-Datei bleibt unverändert: der blaue Verlaufspunkt rechts oben bleibt Teil des Originals. */
.gras { width: 100%; height: 30px; background-image: url('../images/gras.jpg'); background-repeat: repeat-x; background-position: center bottom; }
header { background: linear-gradient(110deg, #5b922d 0%, #478323 55%, #26751e 100%); box-shadow: 0 3px 12px rgba(20,40,20,.12); }
.wrap-header, .gridmenue { width: min(100% - 32px, 1180px); margin: 0 auto; }
#menue { float: none; display: block; width: 100%; }
#menue > ul { display: flex; align-items: stretch; justify-content: center; gap: 4px; }
#menue > ul > li { float: none; }
#menue > ul > li > a { display: block; padding: 14px 17px; color: #fff; font-size: 1rem; font-weight: 600; letter-spacing: .025em; border-radius: 7px; transition: background .18s ease; }
#menue > ul > li:hover > a, #menue > ul > li > a:focus { background: rgba(255,255,255,.16); }
#menue ul ul { box-shadow: 0 10px 24px rgba(0,0,0,.16); border-radius: 0 0 8px 8px; overflow: hidden; }
#menue ul ul li a { width: 230px; padding: 11px 14px; background: #f4f8ef; color: var(--navy); font-size: 1rem; text-transform: none; }
#menue ul ul li a:before { content: ''; }
#menue ul ul li:hover > a, #menue ul ul li a:hover { background: var(--green); color: #fff; }
.container { width: min(100% - 36px, 1180px) !important; margin: 0 auto; }
.main, .content { width: 100% !important; max-width: 100%; margin: 0 auto; }
.main { padding: clamp(24px, 4vw, 54px) 0; }
h1 { color: var(--navy); font-size: clamp(1.55rem, 2.8vw, 2.15rem); line-height: 1.25; margin: 0 0 22px; text-align: center; }
h2 { color: var(--green-dark); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.3; }
h3 { color: var(--green-dark); font-size: 1.12rem; }
p.bodytext { color: var(--text); font-size: 1.12rem; line-height: 1.8; }
a { color: var(--green-dark); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid #9acb60; outline-offset: 3px; }
.rslides_container { width: min(100% - 32px, 1180px); margin: 28px auto 0; overflow: hidden; border-radius: 12px; }
.rslides img { display: block; width: 100%; height: auto; border-radius: 12px; }
.bg_grey { background: var(--green-soft); border: 1px solid var(--line); border-radius: 12px; padding: 22px 18px; }
.therapie_3col3 { padding: 14px !important; }
.therapie_3col3 img { width: auto; max-width: min(100%, 150px); max-height: 120px; object-fit: contain; transition: transform .18s ease; }
.therapie_3col3 a:hover img { transform: translateY(-3px); }
.therapie_2col { border-color: var(--line); border-radius: 10px; overflow: hidden; }
.footer_page { background: linear-gradient(110deg, #5b922d 0%, #478323 55%, #26751e 100%); padding: 28px 18px; line-height: 1.65; }
.footer_wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; width: min(100%, 1120px) !important; min-height: 0; margin: 0 auto; padding: 0; }
.footer_column { float: none; flex: 1 1 220px; min-width: 0; }
.footer_text { float: none; width: auto; margin: 0; line-height: 1.7; }
.footer_text, .footer_text a { font-size: 1.05rem; }
.clear, .clear20px, .clear40px { clear: both; }
@media (max-width: 960px) {
  .wrap-header, .gridmenue { width: 100%; }
  #menue { background: transparent; }
  #menue #menu-button { padding: 15px 18px; color: #fff; font-size: .95rem; }
  #menue > ul { display: none; background: #f2f7ec; }
  #menue > ul.open { display: block; }
  #menue > ul > li { width: 100%; }
  #menue > ul > li > a { color: var(--navy); border-radius: 0; padding: 12px 18px; border-bottom: 1px solid rgba(30,70,20,.08); }
  #menue ul ul { position: relative; left: auto; width: 100%; box-shadow: none; border-radius: 0; }
  #menue ul ul li a { width: 100%; padding: 10px 30px; background: #e8f0df; }
  #menue .submenu-button { background: #e8f0df; height: 42px; width: 48px; }
  #menue .submenu-button:before { background: var(--green-dark); }
  #menue .submenu-button:after { background: var(--green-dark); }
  #menue .submenu-button.submenu-opened:after { background: var(--green-dark); }
  .rslides_container { margin-top: 18px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .top_wrapper { width: calc(100% - 20px) !important; }
  .container { width: calc(100% - 28px) !important; }
  .main { padding: 24px 0 32px; }
  .rslides_container { width: calc(100% - 24px); }
  .therapie_3col3 { float: none !important; width: 100% !important; }
  .therapie_3col3 p { margin-bottom: 8px; }
  .footer_wrapper { display: block; }
  .footer_column { width: 100%; margin: 0 0 16px; }
  .footer_text { width: 100%; font-size: 1.05rem !important; line-height: 1.8; }
  .gras { height: 24px; background-size: auto 24px; }
  iframe { max-width: 100%; }
  table { max-width: 100%; }
}
