/* ============================================================
   Mannschaftskasse — Stylesheet für Inhaltsseiten
   (Impressum, Datenschutz, Kontakt, Ratgeber-Übersicht, Ratgeber-Artikel).
   Gleiche Farben, Schrift und Navigation wie Startseite und Kasse.
   ============================================================ */

@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/dm-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/fonts/dm-sans-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/fonts/dm-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/dm-sans-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{
  --bg:#f5f4f2;--surface:#fff;--surface2:#faf9f7;--border:#e6e3de;--border2:#efece8;
  --accent:#c0392b;--accent-dim:#a32f23;--accent-glow:rgba(192,57,43,.08);
  --brand:#b8352a;--brand-deep:#8a2a20;--ok:#15803d;
  --text:#1c1917;--text2:#44403c;--muted:#78716c;
  --shadow:0 1px 2px rgba(28,25,23,.04),0 12px 32px rgba(28,25,23,.07);
}
html{-webkit-text-size-adjust:100%;overflow-x:clip;}
body{font-family:"DM Sans",Helvetica,Arial,sans-serif;background:var(--bg);color:var(--text);min-height:100vh;display:flex;flex-direction:column;-webkit-font-smoothing:antialiased;line-height:1.5;overflow-x:clip;}
a{color:var(--accent);}

/* ── Header (Rechtsseiten, wie in der Kasse) ── */
.header{background:var(--brand);padding:12px 24px;}
.header-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:12px;}
.header-logo{width:40px;height:40px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:21px;flex-shrink:0;text-decoration:none;}
.header-title{font-size:18px;font-weight:600;letter-spacing:-.01em;color:#fff;line-height:1.15;}
.header-sub{font-size:12.5px;font-weight:500;color:rgba(255,255,255,.72);margin-top:1px;}

/* ── Navigation (Ratgeber, wie auf der Startseite) ── */
.navbar{background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--border);padding:12px 24px;position:sticky;top:0;z-index:500;}
.navbar-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:16px;}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.nav-logo-icon{width:38px;height:38px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;box-shadow:0 0 0 1px var(--border),0 1px 2px rgba(28,25,23,.05);}
.nav-logo-text{font-size:18px;font-weight:600;letter-spacing:-.01em;color:var(--text);}
.nav-links{margin-left:auto;display:flex;align-items:center;gap:22px;}
.nav-link{color:var(--text2);text-decoration:none;font-size:14px;font-weight:500;transition:color .15s;}
.nav-link:hover{color:var(--accent);}
.nav-cta{display:inline-flex;align-items:center;height:38px;background:var(--accent);color:#fff;border-radius:9px;padding:0 16px;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .15s;}
.nav-cta:hover{background:var(--accent-dim);}
@media(max-width:640px){
  .nav-links .nav-link{display:none;}
  .nav-links .nav-link-login{display:inline-flex;align-items:center;height:38px;padding:0 12px;color:var(--text);font-size:14px;font-weight:600;border-radius:9px;background:var(--bg);}
  .nav-links{gap:8px;}
  .nav-logo-text{display:none;}
  .navbar{padding:10px 16px;}
}

/* ── Seitenrahmen ── */
.wrap{flex:1;padding:48px 24px 64px;}
.container{max-width:760px;margin:0 auto;}
.page-title{font-size:clamp(30px,4.4vw,42px);font-weight:600;letter-spacing:-.03em;line-height:1.12;color:var(--text);margin-bottom:10px;}
.page-sub{font-size:17px;color:var(--muted);line-height:1.6;margin-bottom:32px;max-width:640px;}
.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:36px 40px;}

/* Abschnitte (Impressum, Kontakt) */
.section{padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--border2);}
.section:last-child{padding-bottom:0;margin-bottom:0;border-bottom:none;}
.section-title{font-size:13px;font-weight:600;color:var(--muted);margin-bottom:10px;}
.imprint-name{font-size:17px;font-weight:600;margin-bottom:4px;}
.imprint-line{font-size:15px;line-height:1.7;color:var(--text2);}
.imprint-link,.contact-mail-link{color:var(--accent);text-decoration:none;font-weight:500;}
.imprint-link:hover,.contact-mail-link:hover{text-decoration:underline;}
.notice{font-size:15px;line-height:1.7;color:var(--text2);}

/* Kontakt */
.contact-text{font-size:15.5px;line-height:1.75;color:var(--text2);}
.contact-text + .contact-text{margin-top:12px;}
.contact-mail-wrap{display:flex;align-items:center;gap:14px;margin-top:22px;padding:16px 18px;background:var(--surface2);border:1px solid var(--border);border-radius:12px;}
.contact-mail-icon{width:44px;height:44px;border-radius:12px;background:var(--accent-glow);color:var(--accent);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:20px;}
.contact-mail-label{font-size:13px;color:var(--muted);margin-bottom:2px;}
.contact-mail-link{font-size:16px;font-weight:600;word-break:break-all;}

/* Datenschutz */
.dse-section{padding-bottom:26px;margin-bottom:26px;border-bottom:1px solid var(--border2);}
.dse-section:last-child{padding-bottom:0;margin-bottom:0;border-bottom:none;}
.dse-h2{font-size:19px;font-weight:600;letter-spacing:-.015em;color:var(--text);margin-bottom:12px;}
.dse-h3{font-size:15.5px;font-weight:600;color:var(--text);margin:18px 0 8px;}
.card p{font-size:15px;line-height:1.75;color:var(--text2);margin-bottom:12px;}
.card p:last-child{margin-bottom:0;}
.card ul{margin:0 0 12px 20px;}
.card ul li{font-size:15px;line-height:1.7;color:var(--text2);margin-bottom:4px;}
.card a{color:var(--accent);}
.caps{font-size:13px;line-height:1.7;color:var(--text2);background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:14px 16px;}

/* ── Ratgeber-Übersicht ── */
.article-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;}
.article-card{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:24px;text-decoration:none;color:var(--text);transition:border-color .2s,box-shadow .2s;}
.article-card:hover{border-color:#d6d1cb;box-shadow:var(--shadow);}
.a-category,.article-category{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;background:var(--accent-glow);color:var(--accent);font-size:12.5px;font-weight:600;padding:4px 11px;border-radius:99px;margin-bottom:14px;}
.a-title{font-size:18px;font-weight:600;letter-spacing:-.015em;line-height:1.3;margin-bottom:8px;}
.a-excerpt{font-size:14.5px;color:var(--muted);line-height:1.6;flex:1;}
.a-meta{font-size:13px;color:var(--muted);margin-top:16px;padding-top:14px;border-top:1px solid var(--border2);}
.empty-state{color:var(--muted);font-size:15px;}

/* ── Ratgeber-Artikel ── */
.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:22px;}
.breadcrumb a{color:var(--muted);text-decoration:none;}
.breadcrumb a:hover{color:var(--accent);}
.article-meta{color:var(--muted);font-size:14px;margin-bottom:28px;}
.article-body{font-size:16.5px;line-height:1.75;color:var(--text2);}
.article-body .lead{font-size:18.5px;color:var(--text);margin-bottom:8px;}
.article-body h2{font-size:23px;font-weight:600;letter-spacing:-.02em;color:var(--text);margin:40px 0 12px;line-height:1.25;}
.article-body h2:first-child{margin-top:0;}
.article-body h3{font-size:18px;font-weight:600;color:var(--text);margin:26px 0 8px;}
.article-body p{margin:0 0 16px;}
.article-body ul,.article-body ol{margin:0 0 16px;padding-left:22px;}
.article-body li{margin-bottom:8px;}
.article-body .tick-list{list-style:none;padding-left:0;}
.article-body .tick-list li{position:relative;padding-left:28px;}
.article-body .tick-list li::before{content:"";position:absolute;left:2px;top:.55em;width:14px;height:8px;border-left:2px solid var(--ok);border-bottom:2px solid var(--ok);transform:rotate(-45deg);}
.article-body a{color:var(--accent);text-decoration:underline;text-decoration-color:rgba(192,57,43,.3);text-underline-offset:2px;}
.article-body a:hover{text-decoration-color:var(--accent);}
.article-body strong{font-weight:600;color:var(--text);}
.article-body .table-wrap{overflow-x:auto;margin:0 0 20px;border:1px solid var(--border);border-radius:12px;}
.article-body table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:440px;}
.article-body th{background:var(--surface2);color:var(--muted);text-align:left;font-size:13px;font-weight:600;padding:12px 16px;border-bottom:1px solid var(--border);}
.article-body td{padding:12px 16px;border-bottom:1px solid var(--border2);}
.article-body tr:last-child td{border-bottom:none;}

/* Vorlagen-Box mit Kopieren */
.tpl-box{background:var(--surface2);border:1px solid var(--border);border-radius:12px;padding:16px 18px;margin:0 0 18px;}
.tpl-box-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
.tpl-box-label{font-size:13px;font-weight:600;color:var(--accent);}
.tpl-copy-btn{font-family:inherit;font-size:13px;font-weight:600;color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:6px 12px;cursor:pointer;transition:background .15s,border-color .15s;white-space:nowrap;}
.tpl-copy-btn:hover{background:var(--bg);border-color:#d6d1cb;}
.tpl-text{font-family:inherit;font-size:15px;line-height:1.65;color:var(--text);white-space:pre-wrap;word-break:break-word;}

/* Werbe-Block im Artikel */
.article-cta{background:var(--brand-deep);background-image:radial-gradient(90% 120% at 100% 0%,rgba(255,255,255,.1) 0%,rgba(255,255,255,0) 60%);border-radius:16px;padding:22px 26px;margin:28px 0;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;}
.article-cta-text{display:flex;flex-direction:column;gap:4px;color:#fff;}
.article-cta-text strong{font-size:16.5px;font-weight:600;color:#fff;}
.article-cta-text span{font-size:14px;color:rgba(255,255,255,.75);}
.article-body .article-cta-btn,.article-cta-btn{background:#fff;color:var(--brand-deep);font-weight:600;font-size:14.5px;text-decoration:none;padding:12px 20px;border-radius:10px;white-space:nowrap;flex-shrink:0;}
.article-cta-btn:hover{background:#f5efed;}

/* FAQ + Verwandte Artikel */
.faq-section,.related{margin-top:40px;}
.faq-title,.related-title{font-size:19px;font-weight:600;letter-spacing:-.015em;color:var(--text);margin-bottom:14px;}
.faq-list{display:flex;flex-direction:column;gap:8px;}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden;}
.faq-item[open]{border-color:#d6d1cb;}
.faq-item summary{list-style:none;cursor:pointer;padding:16px 46px 16px 18px;font-weight:600;font-size:15.5px;color:var(--text);position:relative;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"";position:absolute;right:20px;top:50%;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-70%) rotate(45deg);transition:transform .2s;}
.faq-item[open] summary::after{transform:translateY(-30%) rotate(-135deg);border-color:var(--accent);}
.faq-item summary:hover{background:var(--surface2);}
.faq-answer{padding:0 18px 18px;font-size:15px;line-height:1.7;color:var(--muted);}
.related-list a{display:block;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:16px 18px;text-decoration:none;color:var(--text);margin-bottom:8px;transition:border-color .15s,box-shadow .15s;}
.related-list a:hover{border-color:#d6d1cb;box-shadow:var(--shadow);}
.related-list .r-title{font-weight:600;font-size:15.5px;margin-bottom:4px;}
.related-list .r-excerpt{font-size:14px;color:var(--muted);}

/* ── Rück-Link + Fuß ── */
.back-link{display:inline-flex;align-items:center;gap:6px;margin-top:32px;color:var(--text2);font-size:14px;font-weight:500;text-decoration:none;}
.back-link:hover{color:var(--accent);}
.footer{padding:22px 24px;text-align:center;font-size:13px;color:var(--muted);border-top:1px solid var(--border);background:var(--surface);}
.footer a{color:var(--muted)!important;text-decoration:none;}
.footer a:hover{color:var(--accent)!important;}

@media(max-width:640px){
  .wrap{padding:28px 16px 48px;}
  .card{padding:24px 20px;border-radius:14px;}
  .header{padding:10px 16px;}
  .header-logo{width:36px;height:36px;font-size:18px;}
  .header-title{font-size:17px;}
  .article-cta{padding:20px;}
  .article-cta-btn{width:100%;text-align:center;}
}
