/* AMK GmbH Bodendesign – mobile first · self-hosted fonts · no third-party requests */
@font-face{font-family:'Montserrat';font-weight:400;font-style:normal;font-display:swap;src:url(fonts/montserrat-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-weight:500;font-style:normal;font-display:swap;src:url(fonts/montserrat-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-weight:600;font-style:normal;font-display:swap;src:url(fonts/montserrat-latin-600-normal.woff2) format('woff2')}

:root{
  --bg:#fbf9f4;--paper:#f2ede1;--ink:#1f2a21;--muted:#5f685a;--line:#e1dac8;
  --forest:#202d23;--olive:#526034;--gold:#8f7343;--gold-l:#bfa57a;--cream:#ece6d8;
  --r:22px;--wrap:none;--gut:22px;--head:78px;
  --sans:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:var(--sans);font-size:16px;line-height:1.65;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;overflow-x:hidden;margin:0}
body.menu-open{overflow:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
ul{list-style:none}
h1,h2,h3{font-family:var(--sans);line-height:1.08;letter-spacing:-.035em;text-wrap:balance}
h1,h2{font-weight:500}
h3{font-weight:600;letter-spacing:-.01em}
p{text-wrap:pretty}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding-left:var(--gut);padding-right:var(--gut)}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 26px;border-radius:999px;border:1px solid transparent;font:500 15px/1 var(--sans);text-decoration:none;cursor:pointer;transition:background .2s,color .2s,border-color .2s;white-space:nowrap}
.btn-dark{background:var(--forest);color:var(--cream)}
.btn-dark:hover{background:var(--olive)}
.btn-line{border-color:var(--forest);color:var(--forest);background:transparent}
.btn-line:hover{background:var(--forest);color:var(--cream)}
.btn-gold{background:var(--gold-l);color:var(--forest)}
.btn-gold:hover{background:#e2c283}
.btn-ghost{border-color:rgba(236,230,216,.45);color:var(--cream)}
.btn-ghost:hover{background:rgba(236,230,216,.12)}
.arr{transition:transform .2s}
.btn:hover .arr{transform:translateX(3px)}

/* ---------- header ---------- */
header{position:sticky;top:0;z-index:60;background:rgba(251,249,244,.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.head-in{display:flex;align-items:center;justify-content:space-between;height:var(--head)}
.brand{display:block;line-height:0}
.brand img{height:46px;width:auto}
.brand .logo-light{display:none}
body.menu-open header{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}
body.menu-open .brand .logo-dark{display:none}
body.menu-open .brand .logo-light{display:block}
.head-actions{display:flex;align-items:center;gap:8px}
.pill-cta{display:none;align-items:center;height:44px;padding:0 20px;border-radius:999px;background:var(--forest);color:var(--cream);font-weight:500;font-size:15px;text-decoration:none}
.pill-cta:hover{background:var(--olive)}
.menu-btn{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font:500 15px/1 var(--sans);cursor:pointer}
.bars{display:flex;flex-direction:column;gap:5px}
.bars i{display:block;width:18px;height:1.6px;background:currentColor;transition:transform .3s}
body.menu-open .menu-btn{background:transparent;color:var(--cream);border-color:rgba(236,230,216,.35)}
body.menu-open .bars i:nth-child(1){transform:translateY(3.3px) rotate(45deg)}
body.menu-open .bars i:nth-child(2){transform:translateY(-3.3px) rotate(-45deg)}

.menu-overlay{position:fixed;inset:0;z-index:55;background:var(--forest);display:flex;flex-direction:column;justify-content:center;padding:calc(var(--head) + 24px) 0 28px;opacity:0;visibility:hidden;transition:opacity .35s,visibility .35s;overflow-y:auto}
.menu-overlay.open{opacity:1;visibility:visible}
.menu-nav,.menu-foot{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.menu-nav{display:flex;flex-direction:column}
.menu-nav a{display:block;padding:4px 0;font:500 clamp(1.8rem,8vw,3.6rem)/1.14 var(--sans);letter-spacing:-.025em;color:var(--cream);text-decoration:none;opacity:.8;transition:opacity .2s,color .2s}
.menu-nav a:hover,.menu-nav a.active{opacity:1;color:var(--gold-l)}
.menu-foot{margin-top:36px;display:flex;flex-direction:column;gap:6px;color:rgba(236,230,216,.75);font-size:15px}
.menu-foot::before{content:"";display:block;height:1px;background:rgba(236,230,216,.18);margin-bottom:16px}
.menu-foot a{text-decoration:none}

/* ---------- hero ---------- */
.hero-wrap{padding-top:4px}
.hero-box{position:relative}
.hero{position:relative;border-radius:var(--r);overflow:hidden;box-shadow:inset 0 0 0 1px rgba(31,42,33,.07);background:var(--forest);height:clamp(500px,calc(100svh - var(--head) - 90px),680px);isolation:isolate}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:68% 60%;z-index:-2}
@media(min-width:900px){.hero>img{object-position:50% 50%}}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(251,249,244,.8) 0%,rgba(251,249,244,.66) 22%,rgba(251,249,244,.26) 44%,rgba(251,249,244,0) 64%)}
.hero-copy{position:absolute;left:0;right:0;bottom:96px;padding:0 24px;color:#fff}
.hero h1{font-size:clamp(2rem,8.4vw,2.7rem);line-height:1.05;max-width:13ch;margin-bottom:14px;color:var(--forest)}
.hero-copy p{font-size:.98rem;line-height:1.5;max-width:34ch;color:var(--ink)}
.hero-tab{position:absolute;left:0;bottom:-1px;background:var(--bg);padding:14px 16px 0 0;border-top-right-radius:var(--r);z-index:3}
.hero-tab::before{content:"";position:absolute;left:0;top:calc(-1 * var(--r));width:var(--r);height:var(--r);background:radial-gradient(circle at 100% 0,transparent calc(var(--r) - .5px),var(--bg) var(--r))}
.hero-tab::after{content:"";position:absolute;left:100%;bottom:1px;width:var(--r);height:var(--r);background:radial-gradient(circle at 100% 0,transparent calc(var(--r) - .5px),var(--bg) var(--r))}
.hero-tab .btn{height:54px;min-width:230px}

/* ---------- sections ---------- */
section{padding:72px 0}
section.tight{padding-top:0}
h2.title{font-size:clamp(1.6rem,5.8vw,2.3rem)}

/* intro + facts */
.intro{display:grid;gap:36px}
.intro h2{font-size:clamp(1.6rem,6vw,2.5rem);max-width:18ch}
.intro .lead{font-size:1.08rem;line-height:1.6;color:var(--ink);max-width:46ch;margin-bottom:28px}
.facts{border-top:1px solid var(--line)}
.facts div{display:grid;grid-template-columns:7.6rem 1fr;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.facts dt{color:var(--muted);font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;padding-top:.3em}
.facts dd{font-size:1rem}
.facts a{text-decoration:none;border-bottom:1px solid var(--line)}
.facts a:hover{border-color:var(--gold)}

/* services slider */
.svc-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:26px}
.arrows{display:flex;gap:10px;flex:none}
.arrow{width:44px;height:44px;border-radius:50%;border:1px solid var(--forest);background:transparent;color:var(--forest);display:grid;place-items:center;cursor:pointer;transition:.2s}
.arrow:last-child{background:var(--forest);color:var(--cream)}
.arrow:hover{background:var(--olive);border-color:var(--olive);color:var(--cream)}
.arrow svg{width:18px;height:18px}
.track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 var(--gut);margin:0 calc(-1 * var(--gut));padding:0 var(--gut) 6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.track::-webkit-scrollbar{display:none}
.svc{flex:0 0 74%;scroll-snap-align:start;text-decoration:none;display:block}
.svc-img{border-radius:18px;overflow:hidden;aspect-ratio:4/4.7;background:var(--paper)}
.svc-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.svc:hover .svc-img img{transform:scale(1.04)}
.svc h3{font-size:1.15rem;margin:14px 0 4px}
.svc p{font-size:.93rem;line-height:1.45;color:var(--muted);max-width:30ch}

/* products bento */
.bento{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bento-intro{grid-column:1/-1;margin-bottom:12px}
.bento-intro p{color:var(--muted);max-width:38ch;margin-top:12px}
.tile{position:relative;display:block;border-radius:18px;overflow:hidden;aspect-ratio:4/5;background:var(--forest);isolation:isolate;text-decoration:none}
.tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .7s}
.tile:hover img{transform:scale(1.04)}
.tile::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(18,27,20,.7),rgba(18,27,20,0) 55%)}
.tile span{position:absolute;right:14px;bottom:13px;left:14px;color:#fff;font:500 15px/1.25 var(--sans)}
.tile.wide{grid-column:1/-1;aspect-ratio:16/10}
.bento-cta{grid-column:1/-1;margin-top:6px}
.bento-cta .btn{width:100%}

/* closing card */
.cta-card{position:relative;border-radius:var(--r);overflow:hidden;background:var(--forest);color:var(--cream);padding:44px 24px;isolation:isolate}
.cta-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.cta-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(32,45,35,.96) 35%,rgba(32,45,35,.6))}
.cta-card h2{font-size:clamp(1.7rem,6.6vw,2.8rem);max-width:16ch;margin-bottom:14px}
.cta-card p{max-width:44ch;color:rgba(236,230,216,.85);margin-bottom:26px}
.cta-row{display:flex;flex-direction:column;gap:12px}

/* ---------- inner pages ---------- */
.page-hero{position:relative;border-radius:var(--r);overflow:hidden;background:var(--forest);height:clamp(320px,46svh,460px);isolation:isolate}
.page-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.page-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(18,27,20,.82),rgba(18,27,20,.28) 58%,rgba(18,27,20,.06))}
.page-hero .in{position:absolute;left:0;right:0;bottom:0;padding:0 24px 28px;color:#fff}
.crumb{display:block;font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.8);margin-bottom:14px}
.crumb a{text-decoration:none}
.crumb i{font-style:normal;margin:0 7px;opacity:.6}
.page-hero h1{font-size:clamp(1.8rem,7.4vw,2.5rem);line-height:1.05;max-width:16ch;margin-bottom:10px}
.page-hero p{max-width:44ch;font-size:.98rem;line-height:1.5;color:rgba(255,255,255,.9)}
.page-hero.short{height:clamp(230px,32svh,320px)}

.feature{display:grid;gap:22px;padding:34px 0;border-bottom:1px solid var(--line)}
.feature:last-child{border-bottom:0}
.feature .f-img{border-radius:18px;overflow:hidden;aspect-ratio:4/3;background:var(--paper)}
.feature .f-img img{width:100%;height:100%;object-fit:cover}
.feature h2{font-size:clamp(1.4rem,5vw,1.95rem);font-weight:600;margin-bottom:10px}
.lede{font-size:1.12rem;line-height:1.45;font-weight:500;color:var(--olive);margin-bottom:10px}
.feature p{color:var(--muted);max-width:50ch}
.feature p.lede{color:var(--olive)}
.feature ul{margin-top:16px;display:grid;gap:8px}
.feature li{position:relative;padding-left:18px;font-size:.97rem}
.feature li::before{content:"";position:absolute;left:0;top:.7em;width:7px;height:1.5px;background:var(--gold)}

.sec-head{margin-bottom:26px;max-width:46ch}
.sec-head p{color:var(--muted);margin-top:12px}
.cols3{display:grid;gap:0;margin:34px 0 40px}
.cols3 div{padding:18px 0;border-top:1px solid var(--line)}
.cols3 h3{font-size:1.1rem;margin-bottom:4px}
.cols3 p{color:var(--muted);font-size:.96rem}
.partner-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:26px}
.partner{display:flex;align-items:center;justify-content:center;height:76px;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;font:500 1.05rem/1.1 var(--sans);color:var(--forest);transition:.2s;text-align:center;padding:0 8px}
.partner:hover{border-color:var(--gold);color:var(--gold)}

.kontakt-grid{display:grid;gap:34px}
.k-box{border-top:1px solid var(--ink);padding-top:16px}
.k-box h3{font-size:1.1rem;margin-bottom:14px}
.k-box p{color:var(--muted);margin-bottom:10px}
.k-box strong{color:var(--ink);font-weight:500}
.k-big{display:inline-block;font:500 clamp(1.05rem,4.6vw,1.7rem)/1.25 var(--sans);letter-spacing:-.01em;color:var(--forest);text-decoration:none;word-break:break-word}
.k-big:hover{color:var(--gold)}
.k-small{font-size:.92rem}
.k-small a{color:var(--olive)}
.map-box{margin-top:44px;border-radius:var(--r);overflow:hidden;background:var(--forest)}
.map-box iframe{display:block;width:100%;height:340px;border:0}
.map-consent{display:flex;align-items:center;justify-content:center;text-align:center;min-height:300px;padding:32px 22px;color:var(--cream)}
.map-consent-in{max-width:500px}
.map-consent h3{font-size:1.5rem;margin-bottom:8px}
.map-consent p{font-size:.95rem;opacity:.9;margin-bottom:18px}
.map-consent p a{color:var(--gold-l)}
.map-alt{display:block;margin-top:14px;font-size:.9rem;color:var(--gold-l)}

/* legal */
.legal-wrap{padding-top:36px;padding-bottom:72px}
.legal{max-width:780px}
.legal h2{font-size:1.4rem;font-weight:600;margin:2rem 0 .5rem}
.legal h2:first-child{margin-top:0}
.legal p,.legal li{color:var(--muted);margin-bottom:.9rem}
.legal ul{margin:0 0 1rem 1.2rem;list-style:disc}
.legal a{color:var(--olive);text-decoration:underline;text-underline-offset:3px}

/* ---------- footer ---------- */
footer{padding:12px 0 22px}
.foot-card{background:var(--forest);color:var(--cream);border-radius:var(--r);padding:34px 24px 20px}
.foot-top{display:grid;gap:30px;padding-bottom:30px;border-bottom:1px solid rgba(236,230,216,.16)}
.foot-logo{height:56px;width:auto;margin-bottom:12px}
.foot-tag{font-size:.95rem;color:rgba(236,230,216,.72)}
.foot-call span{display:block;font-size:11px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:rgba(236,230,216,.65);margin-bottom:8px}
.foot-phone{display:inline-block;font:500 clamp(1.9rem,9vw,2.9rem)/1.1 var(--sans);letter-spacing:-.025em;color:var(--cream);text-decoration:none}
.foot-phone:hover{color:var(--gold-l)}
.foot-mail{display:block;margin-top:8px;font-size:1.02rem;color:var(--gold-l);text-decoration:none;word-break:break-word}
.foot-mail:hover{text-decoration:underline}
.foot-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px 20px;padding:30px 0}
.foot-visit{grid-column:1/-1;order:3}
footer h4{font:500 11px/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:rgba(236,230,216,.6);margin-bottom:16px}
footer li{margin-bottom:8px}
.foot-grid p,.foot-grid a{color:var(--cream);font-size:1rem;line-height:1.5;text-decoration:none}
.foot-grid p+p{margin-top:10px}
.foot-grid a:hover{color:var(--gold-l)}
.foot-fax{margin-top:12px;color:rgba(236,230,216,.65)!important;font-size:.92rem!important}
.foot-bar{display:flex;justify-content:space-between;gap:12px;padding-top:18px;border-top:1px solid rgba(236,230,216,.16);font-size:.88rem;color:rgba(236,230,216,.65)}
.foot-bar a{color:rgba(236,230,216,.85);text-decoration:none;white-space:nowrap}
.foot-bar a:hover{color:var(--gold-l)}

/* ---------- ≥640 ---------- */
@media(min-width:640px){
  :root{--gut:36px;--r:26px;--head:88px}
  .pill-cta{display:inline-flex}
  .brand img{height:50px}
  .hero-copy{padding:0 40px;bottom:104px}
  .hero h1{font-size:clamp(2.7rem,5.4vw,3.5rem)}
  section{padding:92px 0}
  .svc{flex-basis:calc(50% - 7px)}
  .bento{grid-template-columns:repeat(4,1fr)}
  .bento .tile{grid-column:span 2;aspect-ratio:4/4.4}
  .bento .tile.wide{grid-column:span 4;aspect-ratio:16/8}
  .cta-card{padding:64px 48px}
  .cta-row{flex-direction:row}
  .cols3{grid-template-columns:repeat(3,1fr);gap:28px}
  .partner-grid{grid-template-columns:repeat(3,1fr)}
  .kontakt-grid{grid-template-columns:1fr 1fr;gap:40px}
  .foot-card{padding:48px 40px 24px}
  .foot-top{grid-template-columns:1fr auto;align-items:end;gap:40px}
  .foot-grid{grid-template-columns:1fr 1.3fr 1fr;gap:40px;padding:36px 0}
  .foot-visit{grid-column:auto;order:0}
  .page-hero .in{padding:0 40px 40px}
  .page-hero h1{font-size:clamp(2.3rem,5vw,3.1rem)}
  .map-box iframe{height:420px}
}
/* ---------- ≥900 ---------- */
@media(min-width:900px){
  :root{--head:100px;--gut:max(clamp(40px,4.5vw,96px),calc((100vw - 2100px) / 2))}
  .brand img{height:58px}
  .hero{height:clamp(680px,calc(100svh - var(--head) - 28px),900px)}
  .hero-copy{bottom:116px;padding:0 56px}
  .hero h1{font-size:clamp(3.4rem,5vw,5.2rem);max-width:14ch}
  .hero-copy p{font-size:1.15rem;max-width:46ch}
  .hero-tab{padding:18px 20px 0 0}
  .hero-tab .btn{height:58px;min-width:300px;font-size:17px}
  section{padding:112px 0}
  .intro{grid-template-columns:1fr 1fr;gap:96px;align-items:start}
  .intro .lead{font-size:1.15rem}
  .svc{flex-basis:calc(25% - 11px)}
  .bento{grid-template-columns:repeat(3,1fr);grid-template-rows:210px 270px 270px auto;gap:16px}
  .bento-intro{grid-column:1;grid-row:1;margin:0;align-self:start}
  .bento .tile,.bento .tile.wide{grid-column:auto;aspect-ratio:auto}
  .bento .tile.t1{grid-column:1;grid-row:2/4}
  .bento .tile.t2{grid-column:2;grid-row:1/3}
  .bento .tile.t3{grid-column:2;grid-row:3}
  .bento .tile.t4{grid-column:3;grid-row:1/4}
  .bento-cta{grid-column:3;grid-row:4;margin-top:0}
  .cta-card{padding:96px 72px}
  .page-hero{height:clamp(400px,52svh,540px)}
  .page-hero .in{padding:0 56px 56px}
  .page-hero h1{font-size:clamp(2.9rem,4vw,3.7rem)}
  .feature{grid-template-columns:1fr 1fr;gap:80px;align-items:center;padding:60px 0}
  .feature.flip .f-img{order:2}
  .partner-grid{grid-template-columns:repeat(5,1fr)}
  .foot-card{padding:64px 56px 26px}
  .map-box iframe{height:480px}
  .map-consent{min-height:440px}
}

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

/* ---------- große Bildschirme: Schrift und Buttons mitwachsen lassen ---------- */
@media(min-width:1500px){
  :root{--head:112px}
  body{font-size:17px}
  .btn{height:58px;padding:0 30px;font-size:17px}
  .pill-cta,.menu-btn{height:50px;font-size:16px;padding:0 22px}
  .hero-tab .btn{height:64px;min-width:330px;font-size:18px}
  .hero-copy{bottom:124px}
  .hero-copy p{font-size:1.15rem}
  .arrow{width:52px;height:52px}
  .svc p{font-size:1rem}
  .tile span{font-size:17px}
  .brand img{height:66px}
  .hero{height:clamp(740px,calc(100svh - var(--head) - 28px),960px)}
}
@media(min-width:1900px){
  :root{--head:124px}
  body{font-size:18px}
  .btn{height:64px;padding:0 36px;font-size:18px}
  .pill-cta,.menu-btn{height:54px;font-size:17px;padding:0 26px}
  .hero-tab .btn{height:70px;min-width:360px;font-size:19px}
  .hero-copy{bottom:136px}
  .hero-copy p{font-size:1.25rem}
  .arrow{width:58px;height:58px}
  .svc p{font-size:1.05rem}
  .tile span{font-size:19px}
  .brand img{height:74px}
  .hero{height:clamp(800px,calc(100svh - var(--head) - 28px),1040px)}
}
