/* ============================================================
   spielmitbaumi.de – Bauer-Martin-Look, responsive und ohne Überlauf
   ============================================================ */

/* Selbst gehostete Schriften (DSGVO-freundlich, kein Google-CDN) */
@font-face{
  font-family:"Fraunces";
  src:url("fonts/Fraunces.woff2") format("woff2");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:"Nunito";
  src:url("fonts/Nunito.woff2") format("woff2");
  font-weight:200 1000;
  font-style:normal;
  font-display:swap;
}

:root{
  --taupe:#a79c8e;
  --taupe-dark:#8e8275;
  --berry:#a62667;
  --berry-dark:#781642;
  --berry-soft:#faedef;
  --green:#83b427;
  --green-dark:#638c1b;
  --green-soft:#f1f7e5;
  --teal:#123f49;
  --teal-soft:#3e646b;
  --cream:#fffaf3;
  --paper:#fffdf9;
  --sky:#d9eff8;
  --yellow:#f2b72d;
  --line:#eadfce;
  --shadow:0 18px 45px rgba(39,64,61,.14);
  --shadow-small:0 9px 24px rgba(39,64,61,.11);
  --heading:"Fraunces",Georgia,"Times New Roman",serif;
  --body:"Nunito","Trebuchet MS","Segoe UI",system-ui,sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  min-width:320px;
  overflow-x:hidden;
  color:var(--teal);
  background:var(--cream);
  font-family:var(--body);
  font-variation-settings:"SOFT" 72,"WONK" 0;
  line-height:1.55;
}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
h1,h2,h3{font-family:var(--heading);font-weight:900;line-height:1.08}
:focus-visible{outline:4px solid var(--yellow);outline-offset:4px;border-radius:9px}

.skip-link{position:fixed;top:8px;left:8px;z-index:1000;padding:10px 14px;border-radius:10px;color:#fff;background:var(--teal);transform:translateY(-160%);transition:transform .18s ease}
.skip-link:focus{transform:none}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.wrap{width:min(1180px,calc(100% - 40px));margin-inline:auto;min-width:0}

/* ---------------- Hochwertiger Header ---------------- */
.site-header,body:not(.home)>header{
  position:sticky;top:0;z-index:100;color:#fff;
  background:linear-gradient(180deg,#ada294 0%,#9f9386 100%);
  border-bottom:1px solid rgba(255,255,255,.17);
  box-shadow:0 4px 18px rgba(51,40,31,.2);
}
.headerbar,.header-inner{
  width:min(1360px,calc(100% - 42px));
  min-height:78px;margin-inline:auto;
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;gap:28px;
}
.brand{display:inline-flex;align-items:center;gap:13px;color:#fff;white-space:nowrap;font-family:var(--heading);font-size:clamp(21px,2vw,29px);font-weight:900;letter-spacing:-.025em;text-shadow:0 1px 1px rgba(69,54,43,.13)}
.brand img{width:57px;height:57px;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.08))}
nav{min-width:0;display:flex;align-items:center;justify-content:center;gap:8px}
nav a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 13px;border-radius:999px;color:#fff;font-size:15px;font-weight:800;white-space:nowrap;transition:background .18s ease,transform .18s ease}
nav a:not(.booking-link):hover{background:rgba(255,255,255,.14)}
nav a.aktiv::after{content:"";position:absolute;left:14px;right:14px;bottom:-7px;height:3px;border-radius:999px;background:#fff}
.booking-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;padding:10px 22px;border-radius:15px;color:#fff;background:linear-gradient(180deg,#b52d72,#961a58);box-shadow:0 4px 0 #74123f,0 8px 18px rgba(98,13,56,.24);font-size:15px;font-weight:900;white-space:nowrap;transition:transform .15s ease,filter .15s ease}
.booking-link:hover{transform:translateY(-2px);filter:brightness(1.04)}
.calendar-icon{display:inline-flex}.calendar-icon svg{width:17px;height:17px}
.mobile-booking{display:none}
.nav-toggle{display:none;margin-left:auto;width:46px;height:46px;border:0;border-radius:13px;color:#fff;background:rgba(255,255,255,.16);cursor:pointer;font-size:24px}

/* ---------------- Buttons ---------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:47px;padding:11px 24px;border:0;border-radius:999px;color:#fff;font-size:15px;font-weight:900;letter-spacing:.01em;box-shadow:0 4px 0 rgba(0,0,0,.17),0 10px 18px rgba(52,54,40,.08);transition:transform .12s ease,filter .12s ease}
.btn:hover{filter:brightness(1.04);transform:translateY(-2px)}
.btn:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(0,0,0,.18)}
.btn-beere{background:linear-gradient(180deg,#b82a70,#9a1d5b)}
.btn-gruen{background:linear-gradient(180deg,#91be30,#73a31e)}
.btn-card{min-height:42px;padding:9px 20px;font-size:14px}
.btn-klein{min-height:38px;padding:7px 15px;font-size:13px}
.btn-egg{width:17px;height:22px;flex:0 0 17px;border-radius:50% 50% 47% 47%/58% 58% 42% 42%;background:#fff8e9;box-shadow:inset -2px -3px 4px rgba(176,133,70,.15)}

/* ---------------- Hero ---------------- */
.hero{position:relative;isolation:isolate;min-height:515px;overflow:hidden;background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.8),transparent 46%),linear-gradient(180deg,#cceaf7 0%,#eaf7ee 74%,#e6f1d1 100%)}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;z-index:1;height:53px;background:linear-gradient(180deg,transparent,rgba(75,123,34,.1));pointer-events:none}
.hero-landscape{position:absolute;z-index:0;left:50%;bottom:-8px;width:max(100%,1080px);height:clamp(350px,22vw,560px);max-width:none;transform:translateX(-50%);object-fit:cover;object-position:center bottom;pointer-events:none}
.cloud{position:absolute;z-index:0;width:76px;height:27px;border-radius:999px;background:rgba(255,255,255,.84);filter:drop-shadow(0 4px 5px rgba(79,121,132,.07))}
.cloud::before,.cloud::after{content:"";position:absolute;bottom:4px;border-radius:50%;background:inherit}
.cloud::before{left:10px;width:38px;height:38px}.cloud::after{right:9px;width:30px;height:30px}
.cloud-a{top:50px;left:3%}.cloud-b{top:36px;right:4%;transform:scale(.9)}.cloud-c{top:147px;left:46%;transform:scale(.62);opacity:.7}
.hero-inner{position:relative;z-index:3;width:min(1390px,calc(100% - 42px));min-height:515px;margin-inline:auto;display:grid;grid-template-columns:minmax(245px,.9fr) minmax(430px,1.35fr) minmax(350px,1.05fr);align-items:start;gap:24px;padding:31px 0 22px}
.hero-inner>*{min-width:0}
.hero-character{position:relative;align-self:end;height:456px;display:flex;align-items:flex-end;justify-content:center}
.hero-character img{position:relative;z-index:2;width:auto;height:445px;max-width:100%;object-fit:contain;filter:drop-shadow(0 16px 15px rgba(47,78,52,.17));animation:baumi-breathe 4.5s ease-in-out infinite}
.hello-badge{position:absolute;z-index:3;top:82px;right:3px;padding:7px 12px;border:3px solid #fff;border-radius:18px 18px 18px 5px;color:#fff;background:var(--berry);font-family:var(--heading);font-size:15px;font-weight:900;box-shadow:var(--shadow-small);transform:rotate(4deg)}
@keyframes baumi-breathe{0%,100%{transform:translateY(0) rotate(-.35deg)}50%{transform:translateY(-5px) rotate(.35deg)}}
.hero-copy{padding-top:4px;text-align:center;min-width:0}
.hero-copy h1{max-width:660px;margin-inline:auto;color:var(--teal);font-size:clamp(39px,4.3vw,62px);letter-spacing:-.035em;text-wrap:balance;text-shadow:0 2px 0 rgba(255,255,255,.82)}
.hero-copy h1 .title-top{display:block}
.hero-copy h1 em{display:block;margin:-5px 0 -1px;color:var(--berry);font-style:normal;font-size:1.18em;line-height:.98}
.hero-copy h1 .title-farm{display:block;margin:8px auto 0;max-width:100%;font-size:.52em;line-height:1.12;letter-spacing:-.018em;overflow-wrap:normal}
.hero-lead{max-width:620px;margin:18px auto 0;color:#173d46;font-family:var(--body);font-size:clamp(16px,1.5vw,20px);font-weight:800;text-wrap:balance}
.hero-text{max-width:555px;margin:12px auto 0;color:#1d4149;font-size:16px;line-height:1.48;text-wrap:balance}
.hero-actions{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:24px;flex-wrap:wrap}
.game-preview{position:relative;width:100%;max-width:455px;margin:31px auto 0;padding-bottom:52px;text-align:center;transform:rotate(2.1deg)}
.preview-frame{position:relative;overflow:hidden;aspect-ratio:1.62/1;padding:8px;border:6px solid rgba(255,255,255,.97);border-radius:25px;background:#fff;box-shadow:0 17px 34px rgba(47,77,71,.22)}
.preview-frame img{width:100%;height:100%;object-fit:cover;border-radius:14px}
.preview-chip{position:absolute;top:17px;min-width:62px;padding:5px 8px;border-radius:12px;color:#fff;background:rgba(18,63,73,.92);box-shadow:0 3px 7px rgba(0,0,0,.2);transform:rotate(-2.1deg);line-height:1.05}
.preview-chip small{display:block;font-size:8px;text-transform:uppercase;opacity:.78}.preview-chip b{font-size:15px;color:#ffe25c}.preview-score{left:18px}.preview-eggs{right:18px}.preview-time{left:18px;top:64px}
.game-preview figcaption{margin-top:14px;color:var(--teal);font-family:var(--heading);font-size:17px;font-weight:900;transform:rotate(-2.1deg)}
.game-preview figcaption .arrow-doodle{width:32px;height:28px;color:var(--teal);vertical-align:-9px;margin-inline:2px}
.hero-decor{position:absolute;inset:0;z-index:2;pointer-events:none}
.hero-tractor{position:absolute;right:8px;bottom:69px;width:205px;filter:drop-shadow(0 9px 8px rgba(42,70,37,.2))}
.hero-hen{position:absolute;bottom:17px;width:80px;filter:drop-shadow(0 7px 6px rgba(42,70,37,.16))}
.hero-hen-a{right:190px}.hero-hen-b{right:115px;transform:scale(.88) rotate(-3deg)}
.hero-chick{position:absolute;right:335px;bottom:28px;width:45px;filter:drop-shadow(0 6px 5px rgba(42,70,37,.15))}

/* ---------------- Spiele: sauber ausgerichtet ---------------- */
.game-choice{padding:29px 0 17px;background:linear-gradient(180deg,#fffdf8,#fffaf3)}
.game-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.game-card{position:relative;min-width:0;min-height:250px;overflow:hidden;display:grid;grid-template-columns:210px minmax(0,1fr);align-items:center;gap:25px;padding:18px 25px 18px 20px;border:1px solid rgba(99,74,59,.08);border-radius:22px;box-shadow:0 8px 24px rgba(79,73,58,.06)}
.game-card-berry{background:linear-gradient(115deg,#faeeee 0%,#fff9f6 100%)}
.game-card-green{background:linear-gradient(115deg,#f2f7e7 0%,#fbfced 100%)}
.egg-picture{position:relative;z-index:2;width:196px;height:218px;margin-inline:auto;overflow:hidden;border:5px solid rgba(255,255,255,.86);border-radius:50% 50% 44% 44%/57% 57% 43% 43%;box-shadow:0 8px 20px rgba(67,79,50,.13),inset 0 0 0 2px rgba(154,91,111,.1)}
.egg-picture img{width:100%;height:100%;object-fit:cover;object-position:center}
.game-card-copy{position:relative;z-index:2;min-width:0;padding:4px 0}
.game-card-copy h3{margin-bottom:5px;color:var(--berry);font-size:clamp(27px,2.2vw,35px);overflow-wrap:break-word}
.game-card-green .game-card-copy h3{color:#648d22}
.game-subtitle{margin-bottom:11px;color:#9a1f58;font-family:var(--heading);font-size:16px;font-weight:900}.game-card-green .game-subtitle{color:#638623}
.game-card-copy>p:not(.game-subtitle){max-width:390px;margin-bottom:16px;color:#273f43;font-size:14px;line-height:1.46}
.card-watermark{position:absolute;z-index:1;right:18px;bottom:17px;opacity:.1;color:var(--berry);pointer-events:none}.egg-watermark{width:70px}.tractor-watermark{right:-5px;bottom:13px;width:132px;filter:grayscale(1);opacity:.075}

/* ---------------- Vertrauen ---------------- */
.trust-section{padding:0 0 29px;background:#fffaf3}
.trust-panel{position:relative;padding:17px 20px 21px;border:1.5px solid #efd79e;border-radius:19px;background:linear-gradient(180deg,#fffaf0,#fffdf8);box-shadow:0 8px 20px rgba(78,65,37,.04)}
.trust-panel h2{margin-bottom:13px;color:var(--teal);text-align:center;font-size:clamp(21px,2.2vw,30px);text-wrap:balance}.trust-panel h2 span{color:#dd4d70;font-size:.8em}
.trust-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.trust-item{position:relative;min-width:0;min-height:126px;padding:8px 15px 0;text-align:center}.trust-item+.trust-item::before{content:"";position:absolute;left:0;top:24px;bottom:8px;width:1px;background:#e8ddcf}
.trust-symbol{position:relative;width:54px;height:50px;margin:0 auto 7px;display:flex;align-items:center;justify-content:center}
.trust-symbol svg{width:44px;height:44px;filter:drop-shadow(0 3px 3px rgba(70,58,28,.16))}
.trust-item h3{margin-bottom:5px;color:var(--teal);font-family:var(--body);font-size:14px;font-weight:900}.trust-item p{max-width:175px;margin-inline:auto;color:#344d51;font-size:12px;line-height:1.4}

/* ---------------- Baumi / Eltern ---------------- */
.about-baumi{padding:34px 0 58px;background:linear-gradient(180deg,#fffaf3,#f7f4eb)}
.about-card{display:grid;grid-template-columns:190px minmax(0,1.25fr) minmax(0,1fr);align-items:center;gap:28px;overflow:hidden;padding:25px 30px;border-radius:24px;background:linear-gradient(110deg,#e6f4fa,#fffaf1 58%,#fff1cf);box-shadow:var(--shadow-small)}
.about-image{height:210px;display:flex;align-items:flex-end;justify-content:center}.about-image img{height:245px;width:auto;object-fit:contain;filter:drop-shadow(0 12px 10px rgba(44,73,75,.15))}
.section-kicker{display:block;margin-bottom:5px;color:var(--berry);font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.about-copy h2,.about-parent h2{margin-bottom:8px;font-size:27px}.about-copy p,.about-parent p{color:#344d51;font-size:14px}.text-link{display:inline-flex;gap:8px;margin-top:12px;color:var(--berry);font-weight:900}.about-parent{padding-left:28px;border-left:1px solid rgba(18,63,73,.12)}.about-parent .section-kicker{color:#6a902d}.about-parent .btn{margin-top:14px}

/* ---------------- Footer ---------------- */
footer{position:relative;color:#fff;background:linear-gradient(180deg,#8dad36,#78992c)}
footer::before{content:"";position:absolute;left:0;right:0;top:-11px;height:22px;background:radial-gradient(circle at 11px 11px,#8dad36 11px,transparent 12px) 0 0/22px 22px repeat-x}
.footer-inner{width:min(1120px,calc(100% - 36px));margin-inline:auto;padding:29px 0 26px;text-align:center}.slogan{margin-bottom:13px;font-family:var(--heading);font-size:19px}.footer-links{display:flex;justify-content:center;gap:8px 20px;flex-wrap:wrap;margin-bottom:13px}.footer-links a{font-size:13px;font-weight:900}.footer-links a:hover{text-decoration:underline}.footer-klein{font-size:12px;opacity:.9}.footer-klein a{text-decoration:underline}

/* ---------------- Unterseiten ---------------- */
body:not(.home){background:#fbf7f0}body:not(.home) .headerbar{padding-block:9px}body:not(.home) .brand img{width:49px;height:49px}body:not(.home) nav a{font-size:14px}
.seite{width:min(840px,calc(100% - 36px));margin:36px auto 62px;padding:34px clamp(22px,4vw,48px);border-radius:24px;background:#fff;box-shadow:var(--shadow-small)}
.seite h1{margin-bottom:13px;color:var(--teal);font-size:clamp(30px,4vw,44px)}.seite h2{margin:30px 0 10px;color:var(--berry);font-size:24px}.seite h3{margin:22px 0 7px;color:var(--teal);font-size:18px}.seite p,.seite li{margin-bottom:10px}.seite ul{padding-left:22px}.seite a:not(.btn){color:var(--berry);text-decoration:underline}.zurueck{display:inline-block;margin-bottom:18px;font-weight:900}.hinweis{margin:17px 0;padding:14px 17px;border-left:6px solid var(--green);border-radius:0 14px 14px 0;background:#eef6df}.hinweis.beere{border-left-color:var(--berry);background:#fbecf3}

/* ---------------- Responsive: kein horizontales Abschneiden ---------------- */
@media (max-width:1260px){
  .headerbar,.header-inner{width:min(100% - 28px,1220px);gap:16px}
  nav{gap:2px}nav a{padding-inline:10px;font-size:14px}.booking-link{padding-inline:17px}
  .hero-inner{width:min(100% - 30px,1220px);grid-template-columns:minmax(220px,.82fr) minmax(390px,1.25fr) minmax(300px,.95fr);gap:12px}
  .hero-character img{height:405px}.hero-character{height:430px}.hero-copy h1{font-size:50px}.hero-text{font-size:15px}.hero-tractor{width:170px}.hero-hen-a{right:158px}.hero-hen-b{right:94px}.hero-chick{right:281px}
  .game-card{grid-template-columns:180px minmax(0,1fr);gap:20px;padding-inline:17px}.egg-picture{width:174px;height:202px}
}

@media (max-width:1080px){
  .headerbar{grid-template-columns:auto 1fr auto;min-height:70px}.nav-toggle{display:inline-flex;align-items:center;justify-content:center;grid-column:3}.desktop-booking{display:none}.mobile-booking{display:flex!important;margin-top:6px}
  .site-header nav{position:absolute;top:70px;left:14px;right:14px;display:none;flex-direction:column;align-items:stretch;padding:12px;border-radius:18px;background:#95897d;box-shadow:0 16px 35px rgba(39,31,25,.25)}.site-header nav.offen{display:flex}.site-header nav a{justify-content:flex-start;width:100%;padding:10px 14px}.site-header nav a.aktiv::after{display:none}.site-header .mobile-booking{justify-content:center}
  .hero{min-height:auto}.hero-inner{min-height:735px;grid-template-columns:minmax(225px,.75fr) minmax(0,1.25fr);grid-template-areas:"bear copy" "preview preview";align-items:start;gap:8px 24px;padding-top:30px}.hero-character{grid-area:bear;height:405px;align-self:start}.hero-character img{height:395px}.hero-copy{grid-area:copy;padding:16px 0 0}.hero-copy h1{font-size:clamp(39px,6vw,53px)}.hero-copy h1 .title-farm{font-size:.49em}.game-preview{grid-area:preview;width:min(540px,88%);max-width:none;margin:4px auto 0;padding-bottom:55px}.hero-landscape{height:340px}.hello-badge{top:70px;right:-3px}
  .game-card-grid{grid-template-columns:1fr;gap:18px}.game-card{min-height:235px;grid-template-columns:225px minmax(0,1fr);gap:28px;padding-inline:27px}.egg-picture{width:210px;height:218px}.game-card-copy>p:not(.game-subtitle){max-width:570px}
  .trust-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}.trust-item:nth-child(4)::before{display:none}.trust-item:nth-child(4),.trust-item:nth-child(5){grid-column:span 1}
  .about-card{grid-template-columns:155px minmax(0,1fr)}.about-parent{grid-column:1/-1;padding:18px 0 0;border-left:0;border-top:1px solid rgba(18,63,73,.12)}
}

@media (max-width:720px){
  .headerbar,.header-inner{width:calc(100% - 22px)}.brand{font-size:20px;gap:9px}.brand img{width:47px;height:47px}
  .hero-inner{width:calc(100% - 22px);min-height:940px;grid-template-columns:1fr;grid-template-areas:"copy" "preview" "bear";gap:0;padding-top:24px}.hero-copy{padding:0}.hero-copy h1{font-size:clamp(35px,11.5vw,48px)}.hero-copy h1 .title-farm{font-size:.47em;line-height:1.2}.hero-lead{font-size:17px}.hero-text{font-size:14px}.hero-actions{gap:10px;margin-top:19px}.btn{min-height:44px;padding-inline:18px;font-size:14px}
  .game-preview{width:min(96%,440px);margin:28px auto 0;padding-bottom:35px}.game-preview figcaption{font-size:15px;margin-top:9px}.hero-character{height:330px;align-self:end}.hero-character img{height:320px}.hello-badge{top:37px;right:12%}.hero-landscape{height:315px;width:1120px;object-position:34% bottom}.hero-tractor{display:none}.hero-hen-a{right:18px;bottom:14px;width:66px}.hero-hen-b{display:none}.hero-chick{right:88px;bottom:22px;width:38px}
  .game-choice{padding-top:20px}.game-card{grid-template-columns:1fr;gap:12px;padding:18px;text-align:center}.egg-picture{width:190px;height:205px}.game-card-copy>p:not(.game-subtitle){margin-inline:auto}.game-card-copy .btn{margin-inline:auto}.card-watermark{display:none}
  .trust-panel{padding-inline:12px}.trust-grid{grid-template-columns:1fr 1fr}.trust-item{padding-inline:8px}.trust-item:nth-child(odd)::before{display:none}.trust-item:nth-child(4)::before{display:block}.trust-item:nth-child(5){grid-column:1/-1}.trust-item:nth-child(5)::before{display:none}
  .about-card{grid-template-columns:1fr;text-align:center;padding:25px 22px}.about-image{height:185px}.about-image img{height:220px}.about-parent{grid-column:auto}
  body:not(.home) .headerbar{display:flex;flex-wrap:wrap;padding:8px 0 11px}body:not(.home) nav{order:2;width:100%;margin-left:0;justify-content:flex-start;overflow-x:auto;padding-bottom:2px}body:not(.home) nav a{min-height:34px;padding:6px 10px;font-size:12px}.seite{padding:28px 20px}
}

@media (max-width:450px){
  .brand span{font-size:18px}.hero-inner{min-height:920px}.hero-actions{flex-direction:column}.hero-actions .btn{width:min(310px,100%)}.game-preview{width:100%}.hero-character img{height:300px}.trust-grid{grid-template-columns:1fr}.trust-item+.trust-item::before{display:none}.trust-item:nth-child(5){grid-column:auto}
}

@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-character img{animation:none}*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
