/* =========================================================
   Physiotherapie Mario Rabe – statische Seite
   Masterlayout: FireShot Capture 213 (Desktop 1920 px)
   ========================================================= */

/* Roboto lokal einbinden (DSGVO: kein Google-Fonts-Server).
   Dateien in assets/fonts/ ablegen – siehe assets/fonts/LIESMICH.txt */
@font-face{font-family:"Roboto";font-style:normal;font-weight:300;font-display:swap;
  src:local("Roboto Light"),local("Roboto-Light"),url("../fonts/roboto-v30-latin-300.woff2") format("woff2")}
@font-face{font-family:"Roboto";font-style:normal;font-weight:400;font-display:swap;
  src:local("Roboto"),local("Roboto-Regular"),url("../fonts/roboto-v30-latin-regular.woff2") format("woff2")}
@font-face{font-family:"Roboto";font-style:normal;font-weight:500;font-display:swap;
  src:local("Roboto Medium"),local("Roboto-Medium"),url("../fonts/roboto-v30-latin-500.woff2") format("woff2")}

:root{
  --green-dark:#1d4b31;   /* Überschriften, Häkchen, Links */
  --green:#6eb073;        /* Kontaktboxen, Footer */
  --teal:#38abbe;         /* Icons, Button, Kreis */
  --teal-light:#9dd6df;   /* Trennlinie */
  --cream:#f9f3cf;        /* Flächen */
  --text:#262626;
  --grey:#686767;
  --white:#fff;

  --ff-head:"Roboto",-apple-system,"Segoe UI","Helvetica Neue",Arial,sans-serif;
  --ff-body:Verdana,Geneva,"DejaVu Sans","Bitstream Vera Sans",sans-serif;

  --fs-body:14px;         /* Fließtext Desktop */
  --lh-body:22.5px;
  --container:988px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{margin:0;background:var(--white);color:var(--text);font-family:var(--ff-body);font-size:var(--fs-body);line-height:var(--lh-body);-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p,ul,figure{margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--teal);outline-offset:2px}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--green-dark);color:#fff;padding:8px 14px;z-index:100}
.skip-link:focus{left:8px;top:8px}
.container{width:100%;max-width:var(--container);margin:0 auto}

/* ---------- Kopf ---------- */
.site-header{height:18px;background:var(--white)}

/* ---------- Slider ---------- */
.hero{position:relative;height:441px;overflow:hidden;background:#3b3a33}
.hero__slide{position:absolute;inset:0;opacity:0;transition:opacity .5s ease;visibility:hidden}
.hero__slide.is-active{opacity:1;visibility:visible}
.hero__bg{position:absolute;inset:0;background-size:cover;background-position:center 46%;transform:scale(1);}
.hero__slide.is-active .hero__bg{animation:kenburns 6s ease-out both}
@keyframes kenburns{from{transform:scale(1)}to{transform:scale(1.04)}}
.hero__bg--empfang{background-image:url("../img/hero-empfang.jpg")}
.hero__bg--aussen{background-image:url("../img/hero-praxis-aussen.jpg");background-position:center 60%}
.hero__bg::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.18)}
.hero__content{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#fff;padding:0 60px 24px}
.hero__title{font-family:var(--ff-head);font-weight:500;font-size:60px;line-height:62px;max-width:1140px;text-shadow:0 1px 2px rgba(0,0,0,.15)}
.hero__text{font-family:var(--ff-head);font-weight:400;font-size:18px;line-height:24px;margin-top:22px}
.hero__nav{position:absolute;top:50%;z-index:2;transform:translateY(-50%);width:44px;height:60px;padding:10px;border:0;background:none;color:rgba(238,238,238,.9);cursor:pointer}
.hero__nav svg{width:24px;height:40px}
.hero__nav--prev{left:12px}
.hero__nav--next{right:12px}

/* ---------- Willkommen ---------- */
.welcome{background:var(--cream);padding:70px 0 27px}
.welcome__grid{display:grid;grid-template-columns:700px 270px;column-gap:18px;align-items:start}
.welcome h1{font-family:var(--ff-head);font-weight:400;font-size:36px;line-height:36px;color:var(--green-dark);margin:0 0 22px}
.welcome__text p{max-width:700px}
.welcome h1{white-space:nowrap}
.welcome__badge img{width:270px;transition:transform .3s}
.welcome__badge img:hover{transform:rotate(-6deg)}

/* ---------- Leistungen ---------- */
.services{position:relative;padding:52px 0 0}
.shape-top{position:absolute;top:0;left:50%;width:80px;height:25px;transform:translateX(-50%);fill:var(--cream)}
.services__title{font-weight:400;font-size:28px;line-height:34px;color:var(--green-dark);text-align:center;margin-bottom:20px}
.services__grid{display:grid;grid-template-columns:1fr 1fr}
.services__col{padding:0 9px}
.services__col h3{font-weight:400;font-size:28px;line-height:34px;color:var(--green-dark);margin-bottom:13px}
.checklist{list-style:none;padding:0}
.checklist li{position:relative;padding:0 0 0 37px;min-height:44px;line-height:27px}
.checklist li::before{content:"";position:absolute;left:3px;top:0;width:27px;height:27px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='12.3' fill='none' stroke='%231d4b31' stroke-width='2.6'/%3E%3Cpath d='m8.3 14.4 3.9 3.9 7.6-7.7' fill='none' stroke='%231d4b31' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/27px}

/* ---------- Wellness ---------- */
.wellness{padding:93px 0 0}
.divider{border:0;border-top:1px solid var(--teal-light);width:73%;margin:0 auto 30px}
.wellness__title{font-weight:400;font-size:28px;line-height:34px;color:var(--green-dark);text-align:center;margin-bottom:54px}
.wellness__grid{display:grid;grid-template-columns:1fr 1fr}
.wellness__col{padding:0 50px}
.offer{text-align:center;margin-bottom:20px}
.offer__icon{display:block;width:43px;height:43px;margin:0 auto 23px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='22' fill='%2338abbe'/%3E%3Cpath d='M22 11v20M13.5 23l8.5 8.5 8.5-8.5' fill='none' stroke='%23fff' stroke-width='4.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/43px}
.offer h3{font-weight:400;font-size:25px;line-height:29px;color:var(--green-dark);margin-bottom:12px}
.offer p{line-height:22px}
.offer--wide{margin-top:-12px;margin-bottom:0}

/* ---------- Claim ---------- */
.claim{padding:23px 0 57px;text-align:center}
.claim__text{font-size:38px;line-height:50px;color:var(--grey)}
.claim__mark{position:relative;display:inline-block}
.claim__mark svg{position:absolute;left:-10px;top:-9px;width:calc(100% + 18px);height:calc(100% + 14px);overflow:visible;fill:none;stroke:var(--teal);stroke-width:4.5;stroke-linecap:round;vector-effect:non-scaling-stroke}

/* ---------- Galerie ---------- */
.gallery{background:var(--cream);display:grid;grid-template-columns:repeat(3,1fr);gap:36px;padding:61px 36px 62px}
.gallery img{width:100%;height:247px;object-fit:cover}

/* ---------- Kontaktboxen ---------- */
.contact{padding:44px 0 0}
.contact__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{position:relative;margin-top:24px;background:var(--green);color:#fff;text-align:center;font-family:var(--ff-head);font-weight:300;padding:34px 20px 30px;min-height:244px}
.card__icon{position:absolute;top:-24px;left:50%;transform:translateX(-50%);width:49px;height:49px;border-radius:50%;background:var(--teal);border:3px solid #fff;display:grid;place-items:center}
.card__icon svg{width:31px;height:31px;fill:#fff}
.card__title{font-weight:300;font-size:21px;line-height:32px;margin-bottom:6px}
.card__title a,.card__u{color:#fff;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.card p{font-size:16px;line-height:22px;margin-top:12px}
.card p:first-of-type{margin-top:0}
.card strong{font-weight:500}
.card a.plain{text-decoration:none}
.card a.plain:hover{text-decoration:underline}

/* ---------- Stadt-Link ---------- */
.city{padding:80px 0 0}
.city h2{font-family:var(--ff-head);font-weight:400;font-size:33px;line-height:40px;white-space:nowrap}
.city a{color:var(--green-dark);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}

/* ---------- Karte ---------- */
.map{position:relative;margin:75px 9px 0 9px}
.map img{width:100%;height:469px;object-fit:cover}
.map__btn{position:absolute;left:50%;top:214px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:15px;background:var(--teal);color:#fff;text-decoration:none;font-size:15.5px;line-height:39px;padding:0 10px 0 9px;white-space:nowrap}
.map__btn svg{width:16px;height:16px}
.map__btn:hover{background:#2f97a8}

/* ---------- Footer ---------- */
.site-footer{margin-top:10px;background:var(--green);color:#fff}
.site-footer__inner{display:grid;grid-template-columns:773px auto;align-items:center;min-height:50px;max-width:1004px;padding:2px 0 0}
.site-footer nav{display:flex;gap:36px}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline}

/* ---------- Nach oben ---------- */
.to-top{position:fixed;right:18px;bottom:18px;width:35px;height:35px;display:grid;place-items:center;background:rgba(102,102,100,.95);color:#fff;opacity:0;pointer-events:none;transition:opacity .2s;z-index:50}
.to-top.is-visible{opacity:.9;pointer-events:auto}
.to-top svg{width:22px;height:22px}

/* ---------- Mobile Schnellkontakt ---------- */
.mobile-bar{display:none}

/* ---------- Unterseiten ---------- */
.legal{padding:60px 0 80px}
.legal .container{max-width:760px}
.legal h1{font-family:var(--ff-head);font-weight:400;font-size:36px;line-height:42px;color:var(--green-dark);margin-bottom:30px}
.legal h2{font-weight:400;font-size:20px;line-height:28px;color:var(--green-dark);margin:34px 0 12px}
.legal h3{font-weight:700;font-size:var(--fs-body);margin:22px 0 6px}
.legal p,.legal ul{margin-bottom:12px}
.legal ul{padding-left:22px}
.legal a{color:var(--green-dark);overflow-wrap:anywhere}
.legal .back{display:inline-block;margin-top:30px}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width:1100px){
  .container{padding-left:24px;padding-right:24px}
  .welcome__grid{grid-template-columns:minmax(0,1fr) 230px}
  .welcome__badge img{width:230px}
  .hero__title{font-size:48px;line-height:52px}
  .gallery{gap:20px;padding:40px 20px}
  .gallery img{height:auto;aspect-ratio:2.4}
  .card{min-height:0}
  .br-xl{display:none}
  .card__title{font-size:19px;line-height:28px}
  .city h2{font-size:28px;line-height:36px;white-space:normal}
  .site-footer__inner{display:flex;justify-content:space-between;padding:12px 24px;gap:20px;flex-wrap:wrap}
  .welcome h1{white-space:normal}
  .wellness__col{padding:0 20px}
}
@media (max-width:767px){
  :root{--fs-body:16px;--lh-body:25px}   /* Fließtext Handy */
  .container{padding-left:16px;padding-right:16px}
  .br-lg{display:none}
  .hero{height:300px}
  .hero__content{padding:0 48px 10px}
  .hero__title{font-size:28px;line-height:33px}
  .hero__text{font-size:16px;margin-top:14px}
  .hero__nav{width:36px;padding:6px}
  .hero__nav svg{width:18px;height:30px}
  .hero__nav--prev{left:2px}.hero__nav--next{right:2px}
  .welcome{padding:44px 0 30px}
  .welcome__grid{grid-template-columns:1fr;row-gap:24px}
  .welcome h1{font-size:28px;line-height:34px}
  .welcome__badge img{width:200px;margin:0 auto}
  .services{padding-top:50px}
  .services__title,.wellness__title{font-size:24px;line-height:31px}
  .services__grid,.wellness__grid,.contact__grid,.gallery{grid-template-columns:1fr}
  .services__col{padding:0;margin-bottom:18px}
  .services__col h3{font-size:24px;line-height:30px}
  .checklist li{min-height:40px}
  .wellness{padding-top:40px}
  .divider{width:100%}
  .wellness__title{margin-bottom:34px}
  .wellness__col{padding:0}
  .offer{margin-bottom:26px}
  .offer h3{font-size:22px;line-height:28px}
  .claim{padding:10px 16px 40px}
  .claim__text{font-size:26px;line-height:40px}
  .claim__mark svg{stroke-width:5}
  .gallery{gap:16px;padding:32px 16px}
  .contact{padding-top:40px}
  .contact__grid{row-gap:44px}
  .card{padding:36px 16px 26px}
  .city{padding-top:50px}
  .city h2{font-size:22px;line-height:30px}
  .map{margin:44px 0 0}
  .map img{height:300px;object-position:44% center}
  .map__btn{top:auto;bottom:24px;font-size:14px}
  .site-footer{margin-top:0}
  .site-footer__inner{flex-direction:column;align-items:flex-start;padding:18px 16px;font-size:14px;line-height:21px}
  body{padding-bottom:52px}
  .mobile-bar{display:grid;grid-template-columns:1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--green-dark);padding-bottom:env(safe-area-inset-bottom,0px)}
  .mobile-bar a{display:flex;align-items:center;justify-content:center;gap:8px;height:52px;color:#fff;text-decoration:none;font-family:var(--ff-head);font-size:16px;font-weight:500}
  .mobile-bar a+a{border-left:1px solid rgba(255,255,255,.25)}
  .mobile-bar svg{width:20px;height:20px;fill:#fff}
  .to-top{bottom:70px;right:12px}
  .legal{padding:40px 0 60px}
  .legal h1{font-size:28px;line-height:34px}
}
