
/* =========================================================
   MODERNISIERUNG 2026 – basiert auf dem bestehenden Layout
   Bestehende Farben und pix/backgr1.jpg bleiben erhalten.
   ========================================================= */

:root{
  --praxis-green:#81e925;
  --praxis-green-dark:#5f9f20;
  --praxis-green-soft:#e7f4ac;
  --praxis-bg:#e6f5ab;
  --praxis-text:#202020;
  --praxis-border:#c8d5b1;
  --praxis-shadow:0 10px 28px rgba(0,0,0,.10);
  --praxis-radius:14px;
}

/* Grundlegende Korrekturen */
html{
  min-height:100%;
  background:#dff0bf;
  -webkit-text-size-adjust:100%;
}
body{
  min-height:100vh;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.42), transparent 42%),
    #ccff86;
  color:var(--praxis-text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Verdana,sans-serif;
  font-size:16px;
  line-height:1.65;
}
*,*:before,*:after{box-sizing:border-box}
img{max-width:100%;height:auto}

/* Hauptcontainer: gleiche Idee, aber flexibel */
#wrapper{
  width:min(1120px, calc(100% - 32px));
  margin:24px auto,black;
  background:var(--praxis-green);
  border:1px solid rgba(0,0,0,.12);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--praxis-shadow);
}

/* Kopf bleibt optisch der alte Kopf */
#kopfbereich{
  padding:14px 18px 0;
  background:var(--praxis-green);
}
#kopfbereich #lo{
  display:block;
  width:100%;
  max-width:920px;
  height:auto;
  margin:0 auto;
  border-radius:10px 10px 0 0;
}

/* Navigation */
#navibereich{
  position:sticky;
  top:0;
  z-index:20;
  padding:9px 14px;
  text-align:center;
  background:linear-gradient(to bottom,var(--praxis-green),#72d21c);
  border-top:1px solid rgba(0,0,0,.10);
  border-bottom:1px solid rgba(0,0,0,.18);
}
#navibereich ul{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:6px;
  margin:0;
  padding:0;
}
#navibereich li{
  display:block;
  margin:0;
}
#navibereich a{
  display:block;
  padding:8px 12px;
  min-height:40px;
  border:1px solid rgba(0,0,0,.20);
  border-radius:8px;
  background:rgba(255,255,255,.12);
  color:#111;
  font-size:.93rem;
  font-weight:600;
  line-height:1.25;
  text-decoration:none;
  transition:transform .15s ease,background .15s ease,box-shadow .15s ease;
}
#navibereich a:hover,
#navibereich a:focus-visible{
  background:var(--praxis-green-soft);
  transform:translateY(-1px);
  box-shadow:0 3px 10px rgba(0,0,0,.10);
  outline:none;
}
#startseite #navi01 a,
#leistungen #navi02 a,
#mich #navi03 a,
#kontaktseite #navi04 a,
#kurse #navi05 a,
#impressum #navi06 a,
#datenschutz #navi07 a{
  background:var(--praxis-green-soft);
}

/* Inhaltsbereich: Desktop mit linker Info + Hauptinhalt */
.spalte_links{
  float:left;
  width:180px !important;
  padding:24px 14px 24px 18px !important;
}
#textbereich,#textlstg{
  float:right;
  width:calc(100% - 195px) !important;
  min-height:650px;
  height:auto !important;
  margin:0 !important;
  padding:32px clamp(22px,4vw,48px) 44px !important;
  background-color:var(--praxis-bg);
  background-image:url("../pix/backgr1.jpg");
  background-position:center top;
  background-repeat:no-repeat;
  background-size:cover;
  border-left:1px solid rgba(0,0,0,.14);
}

/* Leistungen-Seiten dürfen ihren vorhandenen Hintergrund behalten */
#textlstg{
  background-image:url("../pix/backgr2.jpg");
}

/* Lesbare Inhaltsfläche */
#textbereich > *,
#textlstg > *{
  max-width:820px;
}
#textbereich h1,#textbereich h2,#textbereich h3,
#textlstg h1,#textlstg h2,#textlstg h3{
  color:#174c14;
  line-height:1.25;
}
#textbereich h2,#textlstg h2{
  font-size:clamp(1.45rem,2.5vw,2rem);
  margin:0 0 1.1rem;
  padding-bottom:.55rem;
  border-bottom:2px solid rgba(23,76,20,.18);
}
#textbereich p,#textlstg p{
  line-height:1.72;
}
#textbereich a,#textlstg a{
  color:#176b17;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
#textbereich a:hover,#textlstg a:hover{
  color:#0c420c;
}

/* Sidebar als kleine Informationskarte */
div.spalte_links{
  text-align:center;
}
div.spalte_links img#kraft{
  display:block;
  width:128px;
  height:auto;
  margin:4px auto 18px;
  border:4px solid rgba(255,255,255,.85);
  border-radius:12px;
  box-shadow:0 5px 16px rgba(0,0,0,.16);
}
div.spalte_links address{
  font-size:.84rem;
  line-height:1.55;
  letter-spacing:.02em;
}
div.spalte_links input[type="button"]{
  width:100%;
  max-width:155px;
  min-height:42px;
  margin-top:12px;
  padding:8px 12px;
  border:1px solid rgba(0,0,0,.22);
  border-radius:9px;
  background:var(--praxis-green-soft);
  color:#111;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 3px 8px rgba(0,0,0,.10);
}
div.spalte_links input[type="button"]:hover{
  background:#fff;
}

/* Bilder innerhalb der Inhalte */
#textbereich img,#textlstg img{
  max-width:100%;
  height:auto;
}
.bild,.bild_h,.bild_q{
  max-width:100%;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 5px 15px rgba(0,0,0,.10);
}

/* Formulare/Buttons */
button,input[type="submit"],input[type="button"]{
  min-height:42px;
  border-radius:8px;
}
input,select,textarea{
  max-width:100%;
}

/* Footer */
#fussbereich{
  clear:both;
  padding:22px 24px 28px;
  min-height:20px;
  background:var(--praxis-green);
  border-top:1px solid rgba(0,0,0,.14);
}

/* mobile menu button – wird per JS ergänzt */
.mobile-nav-toggle{
  display:none;
}

/* Tablet */
@media (max-width:900px){
  #wrapper{
    width:min(100% - 24px, 760px);
    margin:12px auto;
    border-radius:14px;
  }
  #kopfbereich{padding:10px 10px 0}
  #navibereich a{font-size:.88rem;padding:8px 10px}
  .spalte_links{width:155px !important}
  #textbereich,#textlstg{
    width:calc(100% - 170px) !important;
    padding:26px 28px 36px !important;
  }
}

/* Smartphone */
@media (max-width:700px){
  body{
    font-size:15px;
    background:#ccff86;
  }
  #wrapper{
    width:100%;
    margin:0;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  #kopfbereich{
    padding:8px 8px 0;
  }
  #kopfbereich #lo{
    border-radius:8px 8px 0 0;
  }

  #navibereich{
    position:sticky;
    top:0;
    padding:7px 10px;
  }
  .mobile-nav-toggle{
    display:flex;
    width:100%;
    align-items:center;
    justify-content:space-between;
    min-height:44px;
    padding:8px 12px;
    border:1px solid rgba(0,0,0,.25);
    border-radius:8px;
    background:var(--praxis-green-soft);
    color:#111;
    font-weight:700;
    cursor:pointer;
  }
  .mobile-nav-toggle span:last-child{
    font-size:1.35rem;
    line-height:1;
  }
  #navibereich ul{
    display:none;
    padding-top:7px;
    gap:5px;
  }
  #navibereich.is-open ul{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  #navibereich li,
  #navibereich a{
    width:100%;
  }
  #navibereich a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:7px 8px;
    text-align:center;
    font-size:.88rem;
  }

  /* Auf dem Handy zuerst die Navigation/Info, dann Inhalt */
  #navibereich{order:2}
  #textbereich,#textlstg{order:4}
  .spalte_links{order:3}

  .spalte_links{
    float:none !important;
    width:100% !important;
    padding:18px 16px 12px !important;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:12px 20px;
    background:rgba(255,255,255,.12);
  }
  div.spalte_links img#kraft{
    margin:0;
    width:104px;
    flex:0 0 104px;
  }
  div.spalte_links address{
    max-width:230px;
  }
  #textbereich,#textlstg{
    float:none !important;
    width:100% !important;
    min-height:0;
    padding:26px 18px 34px !important;
    background-size:auto 100%;
    border-left:0;
    border-top:1px solid rgba(0,0,0,.12);
  }
  #textbereich h2,#textlstg h2{
    font-size:1.45rem;
  }
  #textbereich p,#textlstg p{
    line-height:1.68;
  }
  #fussbereich{
    padding:18px;
  }
}

/* Sehr kleine Geräte */
@media (max-width:420px){
  #navibereich.is-open ul{
    grid-template-columns:1fr;
  }
  .spalte_links{
    display:block;
    text-align:center;
  }
  div.spalte_links img#kraft{
    margin:0 auto 12px;
  }
  div.spalte_links address{
    max-width:none;
  }
  #textbereich,#textlstg{
    padding:22px 15px 30px !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{
    scroll-behavior:auto !important;
    transition:none !important;
  }
}

/* =========================================================
   FEINSCHLIFF 2026 – Icons, Leistungen, mobile Lesbarkeit
   ========================================================= */
#leistungen-main{padding:28px 28px 38px;background:#e6f5ab url(../pix/backgr1.jpg) center/cover no-repeat;min-height:620px}
.leistungen-intro{display:flex;align-items:center;gap:18px;max-width:900px;margin:0 auto 24px;padding:20px 22px;background:rgba(255,255,255,.72);border:1px solid rgba(95,159,32,.25);border-radius:16px;box-shadow:0 8px 22px rgba(0,0,0,.08)}
.section-icon,.service-icon{display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:var(--praxis-green-soft);color:#4f8c20;border:1px solid rgba(95,159,32,.28)}
.section-icon{width:68px;height:68px}.section-icon svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.leistungen-intro h1{margin:0 0 4px;font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.1;color:#222}
.eyebrow{margin:0 0 3px!important;color:#5f9f20;font-size:.8rem;text-transform:uppercase;letter-spacing:.09em;font-weight:700}
.intro-text{margin:0!important;max-width:720px}
.service-grid{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.service-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:190px;padding:18px;background:rgba(255,255,255,.82);border:1px solid rgba(95,159,32,.22);border-radius:14px;color:#202020;text-decoration:none;box-shadow:0 5px 15px rgba(0,0,0,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.service-card:hover,.service-card:focus-visible{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.12);border-color:#81e925;outline:none}
.service-icon{width:48px;height:48px}.service-icon svg{width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.service-card strong{font-size:1.05rem;line-height:1.25;color:#3d6f1b}.service-card span:last-child{font-size:.9rem;line-height:1.5;color:#454545}
.leistungen-note{max-width:900px;margin:22px auto 0;padding:18px 20px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;background:rgba(231,244,172,.92);border:1px solid rgba(95,159,32,.3);border-radius:14px}
.leistungen-note strong{color:#3d6f1b}.leistungen-note span{font-size:.92rem}.cta-link{white-space:nowrap;padding:10px 14px;border-radius:9px;background:#6cb32d;color:#111!important;font-weight:700;text-decoration:none!important}.cta-link:hover{background:#81e925}
.page-title{display:flex!important;align-items:center;gap:0px}
.page-title:before{content:"";display:inline-block;flex:0 0 0px;width:34px;height:34px;border-radius:50%;background:var(--praxis-green-soft)}
/* Content blocks: remove old fixed heights and improve text flow */
#textbereich,#textlstg{height:auto!important;min-height:620px;overflow:visible}
#textbereich p,#textlstg p{max-width:72ch}
#textlstg ul{padding-left:1.2rem}
#textlstg li{margin-bottom:.65rem}
.layer{max-width:100%!important;width:auto!important;height:auto!important;padding:14px 16px!important;border:1px solid rgba(95,159,32,.25)!important;border-radius:10px;background:rgba(255,255,255,.55)!important;line-height:1.55!important}
.spalte_links address{line-height:1.55}
.spalte_links img#kraft{border-radius:12px;box-shadow:0 5px 14px rgba(0,0,0,.15)}
@media (max-width:900px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.leistungen-note{grid-template-columns:1fr}.cta-link{justify-self:start}.leistungen-intro{align-items:flex-start}}
@media (max-width:700px){#leistungen-main{padding:16px 12px 26px;background-position:center}.leistungen-intro{padding:16px;gap:12px;margin-bottom:14px}.section-icon{width:52px;height:52px}.section-icon svg{width:33px;height:33px}.service-grid{grid-template-columns:1fr;gap:10px}.service-card{min-height:0;padding:15px;display:grid;grid-template-columns:48px 1fr;column-gap:12px}.service-card .service-icon{grid-row:1/3}.service-card strong{align-self:end}.service-card span:last-child{align-self:start}.leistungen-note{margin-top:14px;padding:15px}.page-title:before{flex-basis:30px;width:30px;height:30px;background-size:17px}}

/* Finale einheitliche Seiten-Navigation 2026 */
.page-layout{display:flex;align-items:stretch;min-height:700px;background:var(--praxis-bg)}
.side-menu{flex:0 0 245px;width:245px;padding:24px 16px;background:rgba(230,245,171,.96);border-right:1px solid rgba(23,76,20,.18)}
.side-menu h2{margin:0 0 14px;color:#174c14;font-size:1.08rem;line-height:1.25}
.side-menu-list{list-style:none!important;margin:0!important;padding:0!important}
.side-menu-list li{margin:0 0 7px!important;padding:0!important}
.side-menu-list li a{display:flex;align-items:center;gap:11px;min-height:50px;padding:8px 10px;border:1px solid transparent;border-radius:10px;color:#174c14;text-decoration:none;font-weight:600;line-height:1.2;background:rgba(255,255,255,.42);transition:.15s ease}
.side-menu-list li a:hover,.side-menu-list li a:focus-visible{background:#f4f9df;border-color:#b9cf9b;transform:translateX(2px);outline:none}
.side-menu-list li.active a{background:#fff;border-color:#8fb56b;box-shadow:0 3px 10px rgba(0,0,0,.08)}
.side-icon{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:50%;background:#d8ebad;color:#397b2a}
.side-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.side-note{margin-top:16px;padding:11px 12px;border-left:3px solid #6cb32d;background:rgba(255,255,255,.38);font-size:.86rem;line-height:1.45;color:#35552d}
.page-layout>.content{flex:1;min-width:0}
@media(max-width:760px){.page-layout{display:block}.side-menu{width:100%;border-right:0;border-bottom:1px solid rgba(23,76,20,.18)}.side-menu-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.side-menu-list li{margin:0!important}.side-menu-list li a{min-height:46px}.side-note{display:none}}

/* Rechtliche Seiten: keine Hintergrundbild-Gestaltung im Inhaltsbereich. */
#impressum #textbereich,#datenschutz #textbereich{background-image:none!important;background-color:#e7f4ac!important;}
