
:root{
  --ci:#D32F2F;         /* EM Rot */
  --ci-700:#B71C1C;     /* Hover-Rot */
  --ink:#3C3C3C;        /* Text */
  --muted:#6B7280;
  --line:#E6ECF3;
  --radius:14px;
  --shadow:0 10px 24px rgba(16,24,40,.10);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:Inter,"Open Sans",Arial,sans-serif;
  color:var(--ink);
  line-height:1.6;
  position:relative;
  min-height:100%;
}
/* Rotes Overlay (oben 70% -> unten 0%) über alle Hintergrundbilder */
body:before{
  content:"";
  position:fixed;
  inset:0;
  background:linear-gradient(to bottom, rgba(211,47,47,0.7) 0%, rgba(211,47,47,0) 100%);
  z-index:-1;
  pointer-events:none;
}

/* Header */
.header{
  position:sticky; top:0; z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:saturate(140%) blur(3px);
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  opacity:0; transform:translateY(-10px);
  animation:fadeSlideDown 1.2s ease forwards;
}
.header-inner{
  max-width:1100px; margin:0 auto; padding:12px 20px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.brand{display:flex; align-items:center; gap:12px; min-width:0; flex:1;}
.brand img{height:50px; width:auto; opacity:0; transform:scale(0.9); animation:fadeInUp 1.2s ease 0.2s forwards;}
.header-title{margin:0; line-height:1.25; word-break:break-word; font-size:20px; font-weight:800; color:var(--ci);}

/* Buttons (einschließlich Teilen) */
.cta-top{display:flex; gap:10px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 20px; border-radius:12px; font-weight:700; font-size:15px;
  text-decoration:none; border:2px solid transparent; white-space:nowrap;
  transition:transform .3s ease, box-shadow .3s ease, background-color .3s ease;
}
.btn:hover{transform:translateY(-2px) scale(1.02); box-shadow:0 6px 16px rgba(0,0,0,.12)}
.btn-primary{background:var(--ci); color:#fff}
.btn-primary:hover{background:var(--ci-700)}
.btn-outline{background:#fff; color:var(--ci); border-color:var(--ci)}
.btn-outline:hover{background:#FDECEC}

/* Share Button */
.share{position:relative; display:inline-block}
.share .btn-outline{padding:12px 20px;}
.share-icon{width:16px; height:16px; fill:var(--ci); flex:0 0 auto}

/* Meta-Leiste */
.meta{background:rgba(255,255,255,.88); border-bottom:1px solid rgba(0,0,0,.05); opacity:0; animation:fadeIn 1.5s ease 0.5s forwards;}
.meta-inner{
  max-width:1100px; margin:0 auto; padding:8px 20px;
  display:flex; flex-wrap:wrap; gap:6px 14px; font-size:13px; color:var(--muted);
}
.meta .sep{opacity:.35}

/* Layout */
.shell{max-width:1100px; margin:0 auto; padding:28px 20px 56px;}
.grid{display:block} /* einspaltig */

/* Cards & Inhalte */
.card{
  background:rgba(255,255,255,0.92); backdrop-filter:blur(4px);
  border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow);
  opacity:0; transform:translateY(20px); animation:fadeInUp 1.5s ease forwards;
}
.section{padding:20px 22px; margin:0 0 28px 0;}
.section:last-child{margin-bottom:0}
.flow>*+*{margin-top:12px;}
.flow h2{margin:0; font-size:20px; color:var(--ci); border-bottom:2px solid var(--ci); padding-bottom:6px}
.flow ul{padding-left:18px; margin:0}
.flow li{margin:6px 0}
.flow p{margin:0}

/* CTA Section */
.section-cta{display:flex; gap:10px; flex-wrap:wrap; justify-content:center; padding:20px 22px}
.section-cta .btn-primary{font-size:16px; padding:14px 24px;}

/* Share Dropdown (ohne JS) */
.share-dropdown{
  display:none; position:absolute; bottom:100%; right:0;
  background:rgba(255,255,255,.96); border:1px solid var(--line);
  border-radius:10px; min-width:240px; box-shadow:0 8px 20px rgba(0,0,0,.15);
  overflow:hidden; z-index:5;
}
.share:hover .share-dropdown, .share:focus-within .share-dropdown{display:block;}
.share-dropdown a{display:block; padding:12px 14px; font-size:14px; color:var(--ink); text-decoration:none; border-bottom:1px solid var(--line);}
.share-dropdown a:last-child{border-bottom:none}
.share-dropdown a:hover{background:#F5F7FA}

/* Animationen */
@keyframes fadeInUp{0%{opacity:0; transform:translateY(20px);} 100%{opacity:1; transform:translateY(0);}}
@keyframes fadeIn{0%{opacity:0;} 100%{opacity:1;}}
@keyframes fadeSlideDown{0%{opacity:0; transform:translateY(-10px);} 100%{opacity:1; transform:translateY(0);}}

/* Mobile Header */
@media (max-width:480px){
  .header-inner{flex-direction:column; align-items:flex-start}
  .header-title{font-size:18px; margin-top:6px}
  .cta-top{width:100%}
  .btn{width:100%; justify-content:center}
  .section-cta{flex-direction:column}
  .section-cta .btn-primary{width:100%}
}

@media print { body { background:#fff !important; color:#000 !important; } * { box-shadow:none !important; animation:none !important; } }
@media (prefers-reduced-motion: reduce) { * { animation:none !important; transition:none !important; } }


/* Proteus: Hintergrund aus dem Inline-Stil des <body> der Vorlage */
body { background:url('../images/bild1.jpg') center top / cover fixed no-repeat; }

b, strong { font-weight: bold; }

/* Proteus: Platzhalter für entfernte Rücksprung-Links — hält den Platz, ohne Text */
[data-prt-platz]::before { content: attr(data-prt-platz); }

#wrapper, .wrapper { padding-bottom: 2.5rem; }

/* prt-hyphenation — Silbentrennung langer Wörter (Proteus, alle Anzeigen) */
@media (max-width: 800px) {
  html {
  overflow-wrap: break-word;
  }
}
@media (max-width: 800px) {
  h1, h2, h3, h4, h5, h6 {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  -webkit-hyphenate-limit-chars: 8 4 3;
  hyphenate-limit-chars: 8 4 3;
  }
}
@media (max-width: 700px) {
  html {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  -webkit-hyphenate-limit-chars: 8 4 3;
  hyphenate-limit-chars: 8 4 3;
  }
}

/* Logo-Anker (S55): klickbar, aber ohne eigenen Kasten — sonst verschiebt
   sich ein prozentual bemessenes Logo (SDE-113070). */
a.prt-logo-link { display: contents; }

/* proteus-schriftgroesse-gemessen */
/* Fließtext mindestens 16px (Betreiber-Vorgabe SDE-113070): nur die Blöcke,
   die in der Vorlage kleiner standen — am Output gemessen, weil die Größe oft vom
   body/Container geerbt wird (SDE-123205). Maßstab ist die SICHTBARE Größe: eine
   Schrift mit kleinen Kleinbuchstaben wird größer gesetzt (YF-51810). Nur Bildschirm. */
@media screen {
  .prt-schrift { font-size: 16px !important; }
}
