/* Panarelo – Stylesheet nach CI/CD-Manual v1.0 */
:root{
  --blue:#0052b4; --blue-dark:#003d82; --red:#d80027; --navy:#0b1220; --white:#fff;
  --line:#e5e7eb; --soft:#f5f7fa; --text:#1b2433; --muted:#566074;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--text);background:var(--white);line-height:1.7;font-size:1.0625rem;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--blue)}
a:hover{color:var(--blue-dark)}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:2px}
.wrap{max-width:72rem;margin:0 auto;padding:0 1.5rem}
.skip{position:absolute;left:-9999px;top:0;background:#fff;color:var(--navy);padding:.6rem 1rem;z-index:100}
.skip:focus{left:1rem;top:1rem}

/* Kopfzeile */
header{background:var(--navy);position:sticky;top:0;z-index:50;border-bottom:3px solid var(--blue)}
header .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-top:.7rem;padding-bottom:.7rem}
.brand{display:flex;align-items:center;gap:.7rem;color:#fff;text-decoration:none;font-weight:700;font-size:1.45rem;letter-spacing:.01em}
.brand:hover{color:#fff}
.brand img{width:2.8rem;height:2.8rem}
nav ul{display:flex;gap:1.4rem;list-style:none;align-items:center}
nav a{color:#cfd8e6;text-decoration:none;font-size:.95rem;padding:.3rem 0;border-bottom:2px solid transparent}
nav a:hover{color:#fff}
nav a[aria-current="page"]{color:#fff;border-bottom-color:var(--red)}
nav a.cta{background:var(--blue);color:#fff;padding:.5rem 1.1rem;border-radius:.45rem;border:0}
nav a.cta:hover{background:var(--blue-dark)}

/* Hero */
.hero{position:relative;color:#fff;background:var(--navy) var(--img) center/cover no-repeat;isolation:isolate}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(11,18,32,.92) 0%,rgba(11,18,32,.72) 55%,rgba(11,18,32,.35) 100%);z-index:-1}
.hero .wrap{padding-top:5.5rem;padding-bottom:5.5rem}
.hero h1{font-size:clamp(2.1rem,5vw,3.6rem);line-height:1.12;font-weight:800;max-width:19ch;letter-spacing:-.01em}
.hero p.sub{margin-top:1.2rem;max-width:38rem;font-size:1.18rem;color:#dbe3ef}
.hero.home .wrap{display:grid;grid-template-columns:1.25fr .75fr;gap:3rem;align-items:center;padding-top:5rem;padding-bottom:5rem}
.hero.home .logo-big{width:100%;max-width:23rem;justify-self:center;filter:drop-shadow(0 8px 30px rgba(0,0,0,.45))}
.hero.small .wrap{padding-top:3.75rem;padding-bottom:3.75rem}
.hero.small h1{font-size:clamp(1.9rem,4.2vw,2.8rem)}
.actions{margin-top:2rem;display:flex;gap:.9rem;flex-wrap:wrap}
.btn{display:inline-block;padding:.85rem 1.6rem;border-radius:.5rem;font-weight:600;text-decoration:none;border:2px solid transparent;font-size:1rem;cursor:pointer;font-family:inherit;line-height:1.3;text-align:center}
.btn-main{background:var(--blue);color:#fff}.btn-main:hover{background:var(--blue-dark);color:#fff}
.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:#b3001f;color:#fff}
.btn-line{border-color:#fff;color:#fff}.btn-line:hover{background:#fff;color:var(--blue)}
.hero .phone{margin-top:1.6rem;color:#dbe3ef;font-size:.98rem}
.hero .phone a{color:#fff;font-weight:600}

/* Sektionen */
section{padding:4.5rem 0}
.soft{background:var(--soft)}
.dark{background:var(--navy);color:#fff}
.dark h2{color:#fff}.dark .lead{color:#cbd5e4}
h2{font-size:clamp(1.65rem,3.6vw,2.3rem);line-height:1.2;color:var(--blue);margin-bottom:.8rem;font-weight:800;letter-spacing:-.01em}
h3{font-size:1.15rem;line-height:1.35;margin-bottom:.4rem;color:var(--navy)}
.dark h3{color:#fff}
.lead{max-width:42rem;color:var(--muted);margin-bottom:2.5rem;font-size:1.08rem}
p+p{margin-top:1rem}
.note{font-size:.93rem;color:var(--muted);margin-top:1.5rem;max-width:44rem}

/* Foto-Kacheln (Themen) */
.photo-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1.4rem}
.ptile{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:19rem;border-radius:.7rem;overflow:hidden;color:#fff;text-decoration:none;background:var(--navy) var(--img) center/cover no-repeat;isolation:isolate}
.ptile::before{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(11,18,32,.9) 8%,rgba(11,18,32,.1) 65%);z-index:-1;transition:background .2s}
.ptile:hover{color:#fff}.ptile:hover::before{background:linear-gradient(to top,rgba(0,61,130,.92) 8%,rgba(11,18,32,.15) 65%)}
.ptile div{padding:1.4rem}
.ptile h3{color:#fff;font-size:1.35rem}
.ptile p{font-size:.97rem;color:#e0e7f2;margin:0}

/* Werte */
.values{display:grid;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));gap:2rem}
.values div{border-top:4px solid var(--blue);padding-top:1rem}
.values div:nth-child(2n){border-top-color:var(--red)}
.values p{color:var(--muted);font-size:.98rem}

/* Geschichte */
.story{display:grid;grid-template-columns:1.4fr .6fr;gap:3.5rem;align-items:center}
.story img{border-radius:.7rem;height:27rem;object-fit:cover;object-position:center 25%;width:100%}

/* Karten / Listen */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(19rem,1fr));gap:1.4rem}
.card{border:1px solid var(--line);border-radius:.7rem;padding:1.6rem;background:#fff}
.card h3{font-size:1.2rem}
.card .who{color:var(--muted);font-size:.97rem;margin-bottom:1rem}
.card h4{font-size:.92rem;color:var(--blue);margin:1rem 0 .3rem}
.card ul,.checks{list-style:none}
.card li,.checks li{position:relative;padding-left:1.4rem;margin-bottom:.3rem;font-size:.98rem}
.card li::before,.checks li::before{content:"";position:absolute;left:0;top:.62em;width:.6rem;height:.35rem;border-left:2px solid var(--red);border-bottom:2px solid var(--red);transform:rotate(-45deg) translateY(-50%)}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1.6rem}
.facts div{border-left:4px solid var(--blue);padding:.2rem 0 .2rem 1.1rem}
.facts p{color:var(--muted);font-size:.98rem}

/* Ablauf: echte Reihenfolge */
ol.steps{list-style:none;counter-reset:s;display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1.6rem 2rem}
ol.steps li{counter-increment:s;position:relative;padding-left:3.2rem}
ol.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:2.3rem;height:2.3rem;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:700}
ol.steps p{color:var(--muted);font-size:.97rem;margin:0}
.dark ol.steps p{color:#cbd5e4}

/* Bildband */
.band{height:20rem;background:var(--navy) var(--img) center/cover no-repeat}

/* Formulare */
.formbox{display:grid;grid-template-columns:1fr 1.3fr;gap:3rem;align-items:start}
form{display:grid;gap:1.1rem}
.row2{align-items:start;display:grid;grid-template-columns:1fr 1fr;gap:1.1rem}
label{display:grid;gap:.3rem;font-weight:600;font-size:.95rem;color:var(--navy)}
input,select,textarea{font:inherit;font-weight:400;color:var(--text);padding:.72rem .85rem;border:1px solid #b6bfcc;border-radius:.45rem;width:100%;background:#fff}
input:focus,select:focus,textarea:focus{border-color:var(--blue);outline:2px solid var(--blue);outline-offset:0}
textarea{min-height:8.5rem;resize:vertical}
.check{display:flex;gap:.65rem;font-weight:400;font-size:.92rem;align-items:flex-start;color:var(--text)}
.check input{width:1.15rem;height:1.15rem;margin-top:.3rem;flex:none}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.hint{font-weight:400;font-size:.88rem;color:var(--muted)}

/* Kontakt */
.contacts{list-style:none;display:grid;gap:.9rem}
.contacts li{display:grid;grid-template-columns:7rem 1fr}
.contacts span{color:var(--muted);font-size:.95rem}
.contacts a{font-weight:600;text-decoration:none}
details{border-top:1px solid var(--line);padding:1rem 0}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:600;color:var(--navy)}
details p{margin-top:.6rem;color:var(--muted)}

/* Rechtliches */
.legal{max-width:46rem}
.legal h2{font-size:1.3rem;margin-top:2.2rem}
.legal p{white-space:pre-line}

/* Fußzeile */
footer{background:var(--navy);color:#c3cedd;padding:3.5rem 0 2rem;font-size:.97rem;border-top:3px solid var(--red)}
footer .wrap{display:grid;grid-template-columns:1.5fr 1fr 1.2fr;gap:2.5rem}
footer img{width:11.5rem;margin-bottom:1rem}
footer h3{color:#fff;font-size:1rem}
footer a{color:#c3cedd;display:block;margin-bottom:.35rem;text-decoration:none}
footer a:hover{color:#fff;text-decoration:underline}
.fine{grid-column:1/-1;border-top:1px solid #ffffff22;padding-top:1.25rem;margin-top:.5rem;display:flex;gap:1rem 2rem;flex-wrap:wrap;justify-content:space-between;font-size:.9rem}
.fine a{display:inline;margin:0 1.2rem 0 0}

@media(max-width:60rem){
  header .wrap{flex-wrap:wrap}
  nav{width:100%}
  nav ul{flex-wrap:wrap;gap:.3rem 1.2rem}
}
@media(max-width:52rem){
  .hero.home .wrap{grid-template-columns:1fr;padding-top:3.5rem;padding-bottom:3.5rem}
  .hero.home .logo-big{max-width:14rem;justify-self:start;order:-1}
  .hero .wrap{padding-top:3.5rem;padding-bottom:3.5rem}
  .story,.formbox,footer .wrap{grid-template-columns:1fr}
  .story img{height:18rem}
  .row2{grid-template-columns:1fr}
  section{padding:3.2rem 0}
  .band{height:12rem}
  .contacts li{grid-template-columns:6rem 1fr}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ptile::before{transition:none}}
