:root{
  --font-head: ui-serif, Georgia, "Times New Roman", Times, serif;
  --font-body: var(--font);
  --tracking-head: 0.01em;
  --tracking-wide: 0.06em;
  --measure: 68ch;

  --bg:#F2ECE6;
  --fg:#1A1613;
  --muted:#6B625B;
  --line:#E6DED8;
  --accent:#5A1F4D;
  --accent-soft:#E7DEE5;
  --card:#FFFFFF;
      --paper-texture: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+CiAgPGZpbHRlciBpZD0ibiI+CiAgICA8ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC44NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIgLz4KICAgIDxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIKICAgICAgMSAwIDAgMCAwCiAgICAgIDAgMSAwIDAgMAogICAgICAwIDAgMSAwIDAKICAgICAgMCAwIDAgMC41NSAwIiAvPgogIDwvZmlsdGVyPgogIDxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWx0ZXI9InVybCgjbikiIG9wYWNpdHk9IjAuNTUiLz4KPC9zdmc+Cg==');
  --paper-strength: 0.28;
--paper-texture: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+CiAgPGZpbHRlciBpZD0ibiI+CiAgICA8ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC44NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIgLz4KICAgIDxmZUNvbG9yTWF0cml4IHR5cGU9Im1hdHJpeCIgdmFsdWVzPSIKICAgICAgMSAwIDAgMCAwCiAgICAgIDAgMSAwIDAgMAogICAgICAwIDAgMSAwIDAKICAgICAgMCAwIDAgMC41NSAwIiAvPgogIDwvZmlsdGVyPgogIDxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWx0ZXI9InVybCgjbikiIG9wYWNpdHk9IjAuNTUiLz4KPC9zdmc+Cg==');
--max: 980px;
  --r: 14px;
  --shadow: 0 6px 18px rgba(0,0,0,.06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--fg);font-family:var(--font);line-height:1.55}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}
.site-header{position:sticky;top:0;background:rgba(255,255,255,.92);backdrop-filter:saturate(120%) blur(10px);border-bottom:1px solid var(--line);z-index:50}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 0}
.brand{display:flex;flex-direction:column;gap:2px}
.brand__name{font-weight:750;letter-spacing:.02em}
.brand__sub{font-size:13px;color:var(--muted)}
.nav{display:flex;flex-wrap:wrap;gap:14px;justify-content:flex-end}
.nav__link{font-size:14px;color:var(--muted);padding:6px 8px;border-radius:10px}
.nav__link.is-active{color:var(--fg);background:var(--accent-soft);text-decoration:none}
main{padding:42px 0 56px}
.hero{padding:8px 0 8px}
.kicker{font-size:14px;color:var(--muted);margin:0 0 10px}
.h1{font-size:40px;line-height:1.12;margin:0 0 10px;letter-spacing:-.02em}
.h2{font-size:22px;margin:28px 0 10px}
.h3{font-size:17px;margin:20px 0 8px}
.lead{font-size:18px;color:var(--muted);max-width:70ch;margin:0 0 18px}
.grid{display:grid;gap:16px}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
@media (max-width: 900px){.grid.cols-3{grid-template-columns:1fr} .h1{font-size:34px}}
.card{border:1px solid var(--line);border-radius:var(--r);padding:16px;background:var(--card, #fff);box-shadow:var(--shadow)}
.card p{margin:0}
.hr{height:1px;background:var(--line);margin:26px 0}
.ul{margin:10px 0 0 0;padding-left:18px}
.ul li{margin:6px 0}
.quote{border-left:3px solid var(--accent);padding-left:14px;margin:12px 0;color:var(--muted)}
.badge{display:inline-block;font-size:12px;color:var(--muted);border:1px solid var(--line);padding:3px 8px;border-radius:999px}
.cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--accent);padding:10px 14px;border-radius:12px;font-size:14px;background:var(--accent);color:#fff;text-decoration:none}
.btnred{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--accent);padding:10px 14px;border-radius:12px;font-size:14px;background:red;color:#fff;text-decoration:none}
.btn:hover{text-decoration:none;opacity:.92}
.btn.secondary{background:#fff;color:var(--fg);border-color:var(--line)}
.btn.secondary:hover{background:#f8f8f8}
.small{font-size:13px;color:var(--muted)}
.site-footer{border-top:1px solid var(--line);padding:28px 0;background:var(--card, #fff)}
.footer__inner{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}
@media (max-width: 900px){.footer__inner{grid-template-columns:1fr}}
.footer__brand{font-weight:750}
.footer__sub,.footer__meta{color:var(--muted);font-size:13px}
.footer__links{display:flex;flex-direction:column;gap:8px}
.form{display:grid;gap:12px;max-width:640px}
.label{font-size:13px;color:var(--muted)}
.input, select, textarea{width:100%;padding:10px 12px;border-radius:12px;border:1px solid var(--line);font:inherit}
.note{border:1px solid var(--line);border-radius:var(--r);padding:12px;background:#fcfcfc;color:var(--muted)}
.alert{border:1px solid var(--line);border-radius:var(--r);padding:12px;background:#f7f7f7;margin:0 0 16px}

body{position:relative}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background-image:var(--paper-texture);
  background-repeat:repeat;
  background-size:700px 700px;
  opacity:var(--paper-strength);
  mix-blend-mode:multiply;
  z-index:0;
}
.site-header, main, .site-footer{position:relative; z-index:1}

/* Brand / Logo */
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--fg)}
.brand__logo{display:block}
.brand__stack{display:flex;flex-direction:column;line-height:1.05}
.brand__name{font-weight:800;letter-spacing:.02em}
.brand__sub{font-size:12px;color:var(--muted);margin-top:4px}
.footer__logo{display:inline-block;vertical-align:middle;margin-right:10px}


/* Typography system (v9) */
body{font-family:var(--font-body); text-rendering:optimizeLegibility; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale}
p, li{max-width:var(--measure)}
a{color:inherit; text-underline-offset:3px; text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
.kicker{letter-spacing:var(--tracking-wide); text-transform:uppercase; font-size:12px; color:var(--muted)}
.h1, h1{font-family:var(--font-head); font-weight:800; letter-spacing:var(--tracking-head); font-size:38px; line-height:1.1; margin:0 0 12px}
.h2, h2{font-family:var(--font-head); font-weight:800; letter-spacing:var(--tracking-head); font-size:26px; line-height:1.2; margin:22px 0 10px}
.h3, h3{font-family:var(--font-body); font-weight:800; letter-spacing:0.01em; font-size:18px; line-height:1.25; margin:18px 0 8px}
.lead{font-size:18px; line-height:1.55; color:var(--fg); max-width:74ch}
.small, small{font-size:13px; color:var(--muted)}
.section-title{font-family:var(--font-head); font-weight:800; letter-spacing:var(--tracking-head)}
ul{padding-left:18px}
li{margin:6px 0}
.card h3{margin-top:0}
.btn{font-weight:750; letter-spacing:0.01em}
.btn.secondary{font-weight:700}
.nav__link{font-weight:650}
.nav__link.is-active{font-weight:750}


/* Brand tuning */
.brand__name{font-family:var(--font-body); font-weight:900; letter-spacing:0.06em; font-size:16px}
.brand__sub{letter-spacing:0.02em}


/* Hero tuning */
.hero{padding:20px 0}
.hero .kicker{margin-bottom:10px}



/* Logo aspect ratio fix */
.brand__logo{height:auto;max-width:100%}

/* Header height reduction */
header{padding:0px 0}

/* Header height = logo height (~88px at 240px width) + 20% => ~106px */


/* Header brand: full logo (PNG) */
.brand--full{display:flex;align-items:center;text-decoration:none}
.brand__logo-full{display:block;height:72px;width:auto;max-width:100%}
 (max-width: 720px){
  .brand__logo-full{height:72px}
}


/* Footer minimal legal */
.footer__legal{
  font-size:12px;
  opacity:0.75;
}
.footer__legal a{
  margin-right:8px;
}

/* Footer columns tweak (v19) */
.footer__inner{display:flex;gap:24px;align-items:flex-start;justify-content:space-between}
.footer__col:last-child{text-align:right}
@media (max-width: 720px){
  .footer__inner{flex-direction:column}
  .footer__col:last-child{text-align:left}
}


/* Footer quiet mode */
footer{padding:24px 0}
.footer__legal{
  display:flex;
  gap:14px;
  justify-content:flex-end;
  font-size:11px;
  opacity:0.65;
}
.footer__legal a{
  text-decoration:none;
}
.footer__legal a:hover{
  text-decoration:underline;
}
@media (max-width:720px){
  .footer__legal{justify-content:flex-start}
}


/* Footer quiet mode (v22 override) */
.site-footer{padding:22px 0}
.site-footer .footer__links{
  display:flex;
  flex-direction:row;
  gap:14px;
  justify-content:flex-end;
  font-size:11px;
  opacity:0.65;
}
.site-footer .footer__links a{text-decoration:none}
.site-footer .footer__links a:hover{text-decoration:underline}
@media (max-width:720px){
  .site-footer .footer__links{justify-content:flex-start}
}


/* Hero spacing – spannungsreich, ruhig */
.hero{
  padding-top:32px;
  padding-bottom:32px;
}
.hero h1{
  margin-bottom:12px;
}
.hero h2{
  margin-top:0;
  margin-bottom:28px;
}
.hero .hero-lead{
  margin-top:8px;
}
.section--after-hero{
  padding-top:96px;
}

/* Form */
.form{margin-top:24px}
.form__grid{display:grid;gap:16px}
.form__field label{display:block;margin-bottom:6px}
.form__field input,.form__field select,.form__field textarea{width:100%}
.form__optional{font-size:0.85em;opacity:0.75}
.form__actions{margin-top:12px}
.form__note{margin-top:12px;opacity:0.85}
.form__note--small{font-size:0.9em;opacity:0.75}

.list{margin:12px 0 0 18px}
.list li{margin:6px 0}

/* Situations tiles */
.situations{margin-top:18px}
.tiles{display:grid;gap:14px;margin-top:14px}
@media (min-width: 860px){
  .tiles{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
.tile{
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:18px;
  background:rgba(255,255,255,.55);
}
.tile .small{margin-top:6px}
/* Compact tiles (no body text) */
.tiles--compact .tile{padding:16px}
.tiles--compact .tile p{margin-bottom:0}

/* Make tiles clickable */
.tile__link{display:block;color:inherit;text-decoration:none}
.tile__link:focus{outline:2px solid rgba(0,0,0,.35);outline-offset:4px;border-radius:14px}
.tile:hover{transform:translateY(-1px)}
/* Breadcrumb */
.breadcrumb{font-size:.85rem;opacity:.75;margin-bottom:14px}
.breadcrumb a{text-decoration:none}
.breadcrumb span{margin:0 4px}
/* Breadcrumb (single clickable line) */
.breadcrumb__link{display:inline-block;text-decoration:none;color:inherit}
.breadcrumb__link:hover{text-decoration:underline}

/* Active states (A): tiles + navigation */

/* Tiles: subtle hover/focus feedback */
.tile{transition:transform .12s ease, border-color .12s ease, background-color .12s ease}
.tile:hover{transform:translateY(-1px);border-color:rgba(0,0,0,.16);background:rgba(255,255,255,.72)}
.tile__link:focus{outline:2px solid rgba(0,0,0,.28);outline-offset:4px;border-radius:14px}


/* Navigation: elegant hover underline; current page without underline */
.nav a{opacity:.88;text-decoration:none}
.nav a:hover{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1.5px;opacity:1}
.nav a[aria-current="page"]{opacity:1;text-decoration:none;font-weight:600}

/* Tiles: underline only the heading on hover */
.tile__link{text-decoration:none}
.tile__link:hover{text-decoration:none}
.tile__link:hover .h3, .tile__link:focus .h3{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1.5px}

/* --- headline color option: B_h1-accent-rule --- */
.h1{color:var(--fg);position:relative;display:inline-block;}
.h1:after{content:"";display:block;width:84px;height:4px;background:var(--accent);margin-top:14px;border-radius:999px;}

/* --- headline accent rule: mobile tweak (consistency) --- */
@media (max-width: 640px){
  .h1:after{
    width: 64px;
    height: 4px;
    margin-top: 10px;
  }
}


/* --- Color Extensions 1–4 (minimal-invasive) --- */

/* 1) Links im Fließtext: Aubergine als Signal, Unterstreichung nur beim Hover */
a{
  color: var(--accent);
  text-decoration: none;
}
a:hover, a:focus{
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* 2) Kicker/Subline (falls vorhanden) */
.kicker, .eyebrow, .subline{
  color: var(--accent);
}

/* 3) Icon-Highlights / Marker: nur Icons/Marker einfärben, Text bleibt normal */
.icon, .marker, .bullet-icon, .list-icon, .feature-icon, .tag-icon{
  color: var(--accent);
  fill: var(--accent);
  stroke: var(--accent);
}

/* 4) Karten-Titel (H3 innerhalb von Cards/Kacheln) */
.card .h3, .tile .h3, .kachel .h3, .cards .h3, .grid .card .h3{
  color: var(--accent);
}


.btn:hover, a.btn:hover{
  color: inherit;
  text-decoration: none;
}
.btn.secondary:hover, a.btn.secondary:hover{
  color: var(--fg);
}


/* Primary / filled buttons: keep white text on hover */
.btn.primary:hover,
.btn.primary:focus,
a.btn.primary:hover,
a.btn.primary:focus{
  color: #ffffff;
  text-decoration: none;
}

/* Secondary / light buttons: keep dark text on hover */
.btn.secondary:hover,
.btn.secondary:focus,
a.btn.secondary:hover,
a.btn.secondary:focus{
  color: var(--fg);
  text-decoration: none;
}


/* --- FINAL FIX v2: Button Hover Colors (match real markup) --- */
/* Default .btn is the primary (filled) button */
a.btn:hover,
a.btn:focus,
.btn:hover,
.btn:focus{
  color: #ffffff;
  text-decoration: none;
}

/* Secondary / light buttons keep dark text on hover */
a.btn.secondary:hover,
a.btn.secondary:focus,
.btn.secondary:hover,
.btn.secondary:focus{
  color: var(--fg);
  text-decoration: none;
}

