/* Renato Santiago — Grundstyles (Web + Print) */
:root{
  --navy:#123057;
  --navy-2:#1c4b85;
  --teal:#0f7a6c;
  --sand:#f6f3ee;
  --line:#dcd6cd;
  --ink:#1d1d1f;
  --grey:#57575c;
  --white:#ffffff;
  --shadow:0 10px 30px rgba(18,48,87,.10);
  --radius:14px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:"Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  font-size:16.5px;
}
img{max-width:100%;display:block}
a{color:var(--navy-2);text-decoration:none}
a:hover{text-decoration:underline}

.wrap{max-width:1080px;margin:0 auto;padding:0 24px}
.narrow{max-width:820px}

/* ---------- Header ---------- */
header.site{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;gap:18px;height:78px}
.brand{display:flex;align-items:center;gap:16px;font-weight:700;color:var(--navy);letter-spacing:.2px;min-width:0}
.brand img.logo{height:44px;width:auto;flex:none}
.brand .brand-sub{
  display:block;font-weight:500;color:var(--grey);font-size:11px;letter-spacing:.5px;
  text-transform:uppercase;border-left:1px solid var(--line);padding-left:16px;line-height:1.4;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
nav.main{display:flex;gap:22px;font-size:15px;align-items:center;flex-wrap:nowrap;min-width:0}
nav.main a{white-space:nowrap}
nav.main a{color:var(--ink);font-weight:500}
nav.main a.cta{
  background:var(--navy);color:#fff;padding:10px 18px;border-radius:999px;font-weight:600;
}
nav.main a.cta:hover{background:var(--navy-2);text-decoration:none}

/* ---------- Language switcher ---------- */
nav.main .langswitch{display:flex;gap:2px;align-items:center;border:1px solid var(--line);border-radius:999px;padding:2px}
nav.main .langswitch a{
  font-size:12.5px;font-weight:600;padding:5px 9px;border-radius:999px;color:var(--grey);
  letter-spacing:.4px;
}
nav.main .langswitch a:hover{background:#eef3f9;text-decoration:none}
nav.main .langswitch a.active{background:var(--navy);color:#fff}
@media (max-width:900px){
  nav.main .langswitch a{padding:4px 7px;font-size:12px}
}


/* ---------- Hero ---------- */
.hero{background:linear-gradient(180deg,var(--sand),var(--white) 85%)}
.hero .wrap{
  display:grid;grid-template-columns:1.25fr .85fr;gap:56px;align-items:start;
  padding:64px 24px 56px;
}
.hero .wrap > *{min-width:0}
.hero .wrap{align-items:center}
.hero .photo{align-self:start}
.eyebrow{
  display:inline-block;background:#e7f1ee;color:var(--teal);
  font-size:13px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;
  padding:7px 14px;border-radius:999px;margin-bottom:18px;
}
.hero h1{font-size:44px;line-height:1.12;margin:0 0 18px;color:var(--navy);letter-spacing:-.6px}
.hero p.lead{font-size:19px;color:var(--grey);margin:0 0 28px;max-width:56ch}
.btnrow{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-block;padding:14px 26px;border-radius:999px;font-weight:600;font-size:16px;
  transition:transform .15s ease, background .15s ease;
}
.btn.primary{background:var(--navy);color:#fff}
.btn.primary:hover{background:var(--navy-2);text-decoration:none;transform:translateY(-1px)}
.btn.ghost{border:1.5px solid var(--navy);color:var(--navy);background:transparent}
.btn.ghost:hover{background:#eef3f9;text-decoration:none}
.hero .photo{
  border-radius:20px;overflow:hidden;box-shadow:var(--shadow);
  border:1px solid var(--line);background:var(--sand);
}
.hero .photo img{width:100%;height:100%;object-fit:cover}
.trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:30px;align-items:start}
.trust div{font-size:13.5px;color:var(--grey);min-width:0;hyphens:auto}
.trust b{display:block;font-size:26px;color:var(--navy);line-height:1.2}
@media (max-width:640px){.trust{grid-template-columns:1fr 1fr;gap:20px}}

/* ---------- Sections ---------- */
section{padding:66px 0}
section.alt{background:var(--sand)}
h2{font-size:32px;color:var(--navy);margin:0 0 12px;letter-spacing:-.4px;line-height:1.2}
h3{font-size:20px;color:var(--navy);margin:0 0 8px}
.sub{color:var(--grey);font-size:17px;max-width:88ch;margin:0 0 36px}

/* Cards */
.grid{display:grid;gap:22px}
.grid > .card{align-items:stretch}
.grid.c4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid.c5{grid-template-columns:repeat(5,minmax(0,1fr))}
.grid.c3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid.c2{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:26px;box-shadow:0 2px 10px rgba(18,48,87,.045);
  display:flex;flex-direction:column;height:100%;
}
.card .ico{
  width:44px;height:44px;border-radius:11px;background:#e7f1ee;color:var(--teal);
  display:grid;place-items:center;font-weight:800;margin-bottom:14px;font-size:18px;
}
.card ul{margin:12px 0 0;padding-left:18px;color:var(--grey);font-size:15px;overflow-wrap:break-word}
.card li{margin-bottom:5px}
.card .price{margin-top:auto;padding-top:18px;font-weight:700;color:var(--navy);white-space:nowrap;font-size:15.5px}
.card ul{min-height:104px}
.card h3{min-height:0}
.grid.c4 .card h3{min-height:74px;font-size:18.5px;hyphens:auto}

/* Process */
.steps{counter-reset:s;display:grid;gap:18px;grid-template-columns:repeat(4,minmax(0,1fr))}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.step:before{
  counter-increment:s;content:counter(s);
  display:grid;place-items:center;width:44px;height:44px;border-radius:11px;
  background:#e7f1ee;color:var(--teal);font-weight:800;margin-bottom:14px;font-size:18px;
}
.step .small{font-size:14.5px;color:var(--grey)}

/* Table */
table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
th,td{padding:15px 18px;text-align:left;border-bottom:1px solid var(--line);font-size:15.5px;vertical-align:top}
th{background:var(--navy);color:#fff;font-size:14px;letter-spacing:.3px;text-transform:uppercase}
tr:last-child td{border-bottom:none}
td.price,th.price{text-align:right;white-space:nowrap;font-weight:600;color:var(--navy)}
tr.hi td{background:#eef7f4}

/* FAQ */
.faq{display:grid;gap:14px}
details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px}
summary{cursor:pointer;font-weight:600;color:var(--navy)}
details p{margin:12px 0 0;color:var(--grey)}

/* Contact */
.contact-box{
  background:linear-gradient(135deg,var(--navy),var(--navy-2));
  color:#fff;border-radius:18px;padding:44px;
}
.contact-box h2{color:#fff}
.contact-box p{color:#d7e2ef}
.contact-box .btn.primary{background:#fff;color:var(--navy)}
.contact-list{margin:24px 0 0;padding:0;list-style:none}
.contact-list li{margin-bottom:8px;font-size:16px}
.contact-list a{color:#fff;text-decoration:underline}

/* Footer */
footer.site{background:#0d2340;color:#9fb3cb;padding:34px 0;font-size:14px}
footer.site a{color:#cfe0f0}
footer.site .wrap{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}

/* ---------- Print / A4 documents ---------- */
@page{size:A4;margin:14mm 15mm}
body.print{font-size:11pt;line-height:1.5}
.doc-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:3px solid var(--navy);padding-bottom:14px;margin-bottom:22px}
.doc-head .brand{font-size:20px}
.doc-head .meta{text-align:right;font-size:10pt;color:var(--grey);line-height:1.45}
body.print h1{font-size:23pt;color:var(--navy);margin:0 0 6px}
body.print h2{font-size:14pt;color:var(--navy);margin:22px 0 8px;border-bottom:1px solid var(--line);padding-bottom:5px}
body.print h3{font-size:11.5pt;margin:14px 0 4px}
body.print table{font-size:10pt}
body.print th,body.print td{padding:7px 10px}
body.print .grid.c3,body.print .grid.c2{grid-template-columns:repeat(2,1fr)}
body.print .card{padding:14px;box-shadow:none;break-inside:avoid}
body.print .avoid-break{break-inside:avoid}
.flyer{
  border:1px solid var(--line);border-radius:12px;padding:18px;break-inside:avoid;
}
.page-break{break-before:page}
.small{font-size:9.5pt;color:var(--grey)}
.badge{display:inline-block;background:#e7f1ee;color:var(--teal);font-size:9pt;font-weight:700;padding:3px 9px;border-radius:999px;margin-right:6px}

@media (max-width:1100px){
  .grid.c5{grid-template-columns:repeat(3,minmax(0,1fr))}
  .brand .brand-sub{display:none}
}
@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr;gap:34px;padding:48px 24px 38px}
  .hero .photo{max-width:420px;margin:0 auto}
  .grid.c5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero h1{font-size:34px}
  .grid.c4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid.c3,.steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  nav.main a:not(.cta){display:none}
}
@media (max-width:680px){
  .grid.c4,.grid.c3,.grid.c5,.grid.c2,.steps,.services{grid-template-columns:1fr}
  .grid.c4 .card h3,.services .card h3,.card ul{min-height:0}
  h2{font-size:27px}
  .hero h1{font-size:31px}
  .trust{grid-template-columns:1fr 1fr}
}
@media (max-width:560px){
  .wrap{padding:0 18px}
  .grid.c4,.grid.c3,.grid.c5,.grid.c2,.steps,.services{grid-template-columns:1fr}
  .hero h1{font-size:28px;letter-spacing:-.3px}
  .hero p.lead{font-size:17.5px}
  .hero .wrap{padding:34px 18px 34px}
  section{padding:48px 0}
  h2{font-size:25px;line-height:1.22}
  h3{font-size:18.5px}
  .sub{font-size:16px;margin-bottom:26px}
  .card ul{min-height:0}
  .grid.c4 .card h3{min-height:0}
  .card{padding:22px}
  .contact-box{padding:28px 22px;border-radius:14px}
  .btn{padding:13px 22px;font-size:15.5px}
  .btnrow .btn{flex:1 1 100%;text-align:center}
  .trust{grid-template-columns:1fr 1fr;gap:16px}
  .trust b{font-size:22px}
  .brand img.logo{height:38px}
  .eyebrow{font-size:12px;padding:6px 12px}
  footer.site .wrap{flex-direction:column;gap:12px}
  .foot-brand{flex-direction:column;align-items:flex-start;gap:8px}
  details{padding:16px}
  .contact-list li{font-size:15px;overflow-wrap:break-word}
  .contact-head{gap:14px}
  .contact-avatar{width:64px;height:64px}
}
@media (max-width:400px){
  .hero h1{font-size:25px}
  h2{font-size:22.5px}
  .wrap{padding:0 15px}
  .trust{grid-template-columns:1fr}
  .card{padding:19px}
  .btn{padding:12px 18px;font-size:15px}
}

/* ---------- Wortmarke & Kontakt ---------- */
.foot-brand{display:flex;align-items:center;gap:14px}
.foot-brand img{background:#fff;border-radius:6px;padding:4px 6px}
.contact-head{display:flex;align-items:center;gap:18px;margin-bottom:14px}
.contact-avatar{width:84px;height:84px;border-radius:50%;object-fit:cover;object-position:center 12%;border:3px solid rgba(255,255,255,.35);flex:none}
@media (max-width:560px){
  .brand .brand-sub{display:none}
  .contact-head{flex-direction:column;align-items:flex-start;gap:12px}
}

/* ---------- Karten-Feinschliff ---------- */
.card h3{text-wrap:balance}
.card ul{padding-left:20px}
.card li{line-height:1.5}
.grid.c3 .card h3{min-height:0}
.grid.c4 .card h3{min-height:64px}
.grid.c4 .card ul{min-height:120px}
.card .hint{color:var(--teal);font-weight:600;font-size:13.5px;letter-spacing:.3px;text-transform:uppercase}

/* Hero-Foto: Naht zwischen Studiohintergrund und Cream-Fläche weich halten */
.photo img{border-radius:var(--radius);box-shadow:0 18px 44px rgba(18,48,87,.14);display:block;width:100%;height:auto}

@media (max-width:1100px){
  .grid.c3{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Robuste Darstellung auf allen Geräten: nichts darf horizontal überlaufen */
html,body{overflow-x:hidden}
.wrap,h1,h2,h3,p,li,td,th,.card,.step,.contact-box{overflow-wrap:break-word;word-break:normal}
h1,h2,h3{hyphens:auto;-webkit-hyphens:auto}
img,svg{max-width:100%;height:auto}

/* Knöpfe und kurze Labels never hyphenate/break */
.btn,.badge,.eyebrow,.card .ico,.step:before,nav.main a,th,td.price,.card .hint{
  hyphens:none;-webkit-hyphens:none;overflow-wrap:normal;word-break:keep-all;
}
.btn{white-space:normal}

/* Titelhöhen nur dort erzwingen, wo es Platz gibt */
@media (max-width:900px){
  .services .card h3,.grid.c4 .card h3{min-height:0}
  .card ul,.grid.c4 .card ul{min-height:0}
}

/* Leistungsübersicht: gleiche Titelhöhe -> gleiche Bullet-Baseline (nur wo Platz ist) */
@media (min-width:681px){
  .services .card h3{min-height:48px;display:flex;align-items:flex-start}
}
.services .card p.small.eyebrow{min-height:18px;margin:0 0 8px}
.services .card ul{min-height:0}
.services .card{hyphens:auto;-webkit-hyphens:auto}
.services .card h3{font-size:19px;line-height:1.25}

/* Abschluss-Kachel */
.card.cta-card{background:linear-gradient(160deg,#f4faf8,#eaf3f0);border-color:rgba(15,122,108,.28)}
.card.cta-card .ico{background:var(--teal);color:#fff}
.card.cta-card .btn{margin-top:auto;width:100%;justify-content:center;text-align:center;min-height:46px;align-items:center;display:inline-flex;padding-bottom:14px}
.card.cta-card{padding-bottom:24px}

/* ---------- Endgültige Mobil-Regeln (müssen zuletzt stehen) ---------- */
@media (max-width:680px){
  .grid.c4,.grid.c3,.grid.c5,.grid.c2,.steps,.services,.grid.c3.services{grid-template-columns:1fr}
  .services .card h3,.grid.c4 .card h3{min-height:0}
  .card ul,.grid.c4 .card ul{min-height:0}
  .services .card h3{display:block}
}
@media (max-width:560px){
  .grid.c4,.grid.c3,.grid.c5,.grid.c2,.steps,.services,.grid.c3.services{grid-template-columns:1fr}
}
@media (max-width:400px){
  .grid.c4,.grid.c3,.grid.c5,.grid.c2,.steps,.services,.grid.c3.services{grid-template-columns:1fr}
}
