/* BVH Mitgliederportal: Corporate Design nach bundesverbraucherhilfe.de */
:root{
  --bvh-tint:#F2F6F6;--bvh-ink:#07262D;--bvh-brand:#003739;--bvh-brand-hover:#00504F;--bvh-deep:#002325;
  --bvh-accent:#0019FF;--bvh-accent-700:#0013C4;--bvh-accent-050:#E8EBFF;--bvh-cyan:#6FFFF2;--bvh-green-tint:#DCEBE9;
  --bvh-muted:#5C7071;--bvh-line:#D8E2E2;--bvh-line-strong:#B9CACA;--bvh-signal:#B3271E;--bvh-positive:#1C6E52;--bvh-warn:#8A5A00;
  --bvh-shell:1320px;--bvh-gutter:clamp(20px,5vw,56px);--bvh-headerh:97px;--bvh-ease:cubic-bezier(.22,.61,.36,1);
  --bvh-pfeil:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.4 12h15.1'/%3E%3Cpath d='M12.9 6.4 18.5 12l-5.6 5.6'/%3E%3C/svg%3E");
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scrollbar-width:thin;scrollbar-color:var(--bvh-brand) var(--bvh-tint)}
body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:#fff;color:var(--bvh-ink);font-family:'Fira Sans','Helvetica Neue',Arial,sans-serif;font-size:18px;line-height:1.7;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
:where(h1,h2,h3,h4,p,ul,ol,dl,dd,figure){margin:0}
h1,h2,h3{color:var(--bvh-brand);font-weight:700;line-height:1.2;letter-spacing:0}
h1{font-size:clamp(31px,3.2vw,46px);line-height:1.15}
h2{font-size:clamp(22px,2vw,28px)}
h3{font-size:clamp(19px,1.6vw,22px)}
a{color:var(--bvh-accent);text-underline-offset:3px}
a:hover{color:var(--bvh-accent-700)}
:focus-visible{outline:2px solid var(--bvh-accent);outline-offset:3px}
img{display:block;max-width:100%;height:auto}
strong{font-weight:600}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bvh-skip{position:absolute;left:-9999px;top:0;z-index:999;background:var(--bvh-brand);color:#fff;padding:12px 18px;text-decoration:none}
.bvh-skip:focus{left:16px;top:16px;color:#fff}
.bvh-shell{width:min(var(--bvh-shell),100%);margin-inline:auto}
.bvh-main{flex:1 0 auto;outline:none}

/* Kopfbereich */
.bvh-header{position:relative;z-index:10;background:#fff;border-bottom:1px solid var(--bvh-line);padding-inline:var(--bvh-gutter)}
.bvh-header .bvh-shell{display:flex;align-items:center;gap:28px;height:96px}
.bvh-logo{display:block;flex:none}
.bvh-logo img{height:60px;width:auto}
.bvh-claim{font-size:15px;color:var(--bvh-muted);letter-spacing:.02em;border-left:1px solid var(--bvh-line);padding-left:24px;white-space:nowrap}
.bvh-header__util{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:15px}
.bvh-user{color:var(--bvh-muted)}
.bvh-user strong{color:var(--bvh-ink)}
@media (max-width:760px){
  :root{--bvh-headerh:77px}
  .bvh-header .bvh-shell{height:76px;gap:14px}
  .bvh-logo img{height:42px}
  .bvh-claim,.bvh-user,.bvh-link--quiet{display:none}
}

/* Schaltflaechen und Links */
.bvh-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;max-width:100%;padding:16px 30px;border:1px solid transparent;border-radius:0;font-family:inherit;font-size:17px;font-weight:500;line-height:1.2;text-align:center;text-decoration:none;cursor:pointer;transition:background .25s var(--bvh-ease),color .25s var(--bvh-ease),border-color .25s var(--bvh-ease)}
.bvh-btn--primary{background:var(--bvh-brand);color:#fff}
.bvh-btn--primary:hover,.bvh-btn--primary:focus{background:var(--bvh-brand-hover);color:#fff}
.bvh-btn--ghost{background:transparent;color:var(--bvh-brand);border-color:var(--bvh-brand)}
.bvh-btn--ghost:hover,.bvh-btn--ghost:focus{background:var(--bvh-brand);color:#fff}
.bvh-btn--light{position:relative;overflow:hidden;isolation:isolate;background:#fff;color:var(--bvh-brand);border-color:#fff;font-weight:600}
.bvh-btn--light::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--bvh-accent-050);transform:scaleX(0);transform-origin:left center;transition:transform .38s var(--bvh-ease)}
.bvh-btn--light:hover{color:var(--bvh-accent)}
.bvh-btn--light:hover::before{transform:scaleX(1)}
.bvh-btn--sm{padding:10px 18px;font-size:15px}
.bvh-btn--block{width:100%}
.bvh-btn[disabled]{opacity:.65;cursor:progress}
.bvh-link{display:inline-flex;align-items:center;gap:8px;color:var(--bvh-brand);font-weight:600;text-decoration:none}
.bvh-link::after{content:"";flex:none;width:16px;height:16px;background:currentColor;-webkit-mask:var(--bvh-pfeil) center/contain no-repeat;mask:var(--bvh-pfeil) center/contain no-repeat;transition:transform .25s var(--bvh-ease)}
.bvh-link:hover{color:var(--bvh-brand-hover)}
.bvh-link:hover::after{transform:translateX(4px)}
.bvh-link--quiet{font-weight:500;color:var(--bvh-muted)}

/* Typografie */
.bvh-kicker{margin:0 0 12px;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--bvh-muted)}
.bvh-lead{margin-top:14px;font-size:clamp(18px,1.5vw,21px);line-height:1.6;color:var(--bvh-muted);max-width:60ch}
.bvh-note{font-size:15px;line-height:1.6;color:var(--bvh-muted)}
.bvh-gap{margin-bottom:22px}
.bvh-gap-top{margin-top:20px}
.bvh-optional{font-weight:400;color:var(--bvh-muted)}

/* Formulare */
.bvh-form{display:grid;gap:22px}
.bvh-field{display:grid;gap:9px}
.bvh-field label{font-size:14px;font-weight:600;letter-spacing:.01em;color:var(--bvh-brand)}
.bvh-field input{width:100%;padding:14px 16px;border:1px solid var(--bvh-line);border-radius:0;background:#fff;color:var(--bvh-ink);font-family:inherit;font-size:16px;line-height:1.4;transition:border-color .2s var(--bvh-ease),box-shadow .2s var(--bvh-ease)}
.bvh-field input:hover{border-color:var(--bvh-line-strong)}
.bvh-field input:focus{outline:none;border-color:var(--bvh-brand);box-shadow:0 0 0 2px rgba(0,55,57,.2)}
.bvh-field.has-error input{border-color:var(--bvh-signal)}
.bvh-field__error{font-size:14px;color:var(--bvh-signal)}
.bvh-pw{position:relative}
.bvh-pw input{padding-right:118px}
.bvh-pw__toggle{position:absolute;top:50%;right:6px;transform:translateY(-50%);padding:8px 12px;border:0;background:none;color:var(--bvh-brand);font-family:inherit;font-size:14px;font-weight:600;cursor:pointer}
.bvh-pw__toggle:hover{text-decoration:underline}
html:not(.bvh-js) .bvh-pw__toggle{display:none}
.bvh-checkline{display:flex;align-items:center;gap:10px;font-size:16px;cursor:pointer}
.bvh-checkline input{width:18px;height:18px;margin:0;accent-color:var(--bvh-brand)}

/* Hinweise */
.bvh-stack{display:grid;gap:12px;margin-top:24px}
.bvh-stack:empty{display:none}
.bvh-alert{padding:14px 18px;border-left:4px solid var(--bvh-brand);background:var(--bvh-tint);font-size:16px;line-height:1.55;margin-bottom:24px}
.bvh-stack .bvh-alert{margin-bottom:0}
.bvh-alert--error{border-left-color:var(--bvh-signal);background:#FBEAE8}
.bvh-alert--success{border-left-color:var(--bvh-positive);background:#E6F2EE}
.bvh-alert ul{margin:6px 0 0 20px;padding:0}

/* Anmeldung */
.bvh-auth{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);min-height:calc(100vh - var(--bvh-headerh))}
.bvh-auth__panel{display:grid;align-content:center;justify-items:center;padding:clamp(48px,7vw,104px) var(--bvh-gutter)}
.bvh-auth__inner{width:min(470px,100%)}
.bvh-auth__inner .bvh-form{margin-top:32px}
.bvh-auth__links{margin:26px 0 18px;font-size:16px}
.bvh-auth__aside{position:relative;overflow:hidden;display:grid;align-content:center;padding:clamp(48px,7vw,104px) var(--bvh-gutter);background:var(--bvh-deep);color:rgba(255,255,255,.8)}
.bvh-auth__asideinner{position:relative;max-width:460px}
.bvh-auth__aside h2{margin-bottom:26px;color:#fff;font-size:clamp(30px,3vw,42px);line-height:1.15}
.bvh-auth__aside .bvh-kicker{color:rgba(255,255,255,.62)}
.bvh-auth__aside .bvh-note{margin-top:30px;color:rgba(255,255,255,.62)}
.bvh-auth__aside a:not(.bvh-btn){color:#fff}
.bvh-auth__aside a:not(.bvh-btn):hover{color:var(--bvh-green-tint)}
.bvh-auth__diag{position:absolute;right:-10%;bottom:-6%;width:120%;height:auto;opacity:.35;pointer-events:none}
.bvh-ticks{display:grid;gap:14px;margin:0 0 34px;padding:0;list-style:none;font-size:17px}
.bvh-ticks li{position:relative;padding-left:32px}
.bvh-ticks li::before{content:"";position:absolute;left:2px;top:.5em;width:14px;height:8px;border-left:2px solid var(--bvh-cyan);border-bottom:2px solid var(--bvh-cyan);transform:rotate(-45deg)}
@media (max-width:900px){.bvh-auth{grid-template-columns:1fr;min-height:0}.bvh-auth__panel{justify-items:stretch}}

/* Mein Bereich */
.bvh-portal{padding:clamp(40px,5vw,72px) var(--bvh-gutter) clamp(64px,7vw,104px)}
.bvh-pagehead{margin-bottom:30px}
.bvh-pagehead + .bvh-btn{margin-top:4px}
.bvh-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:14px;font-size:16px;color:var(--bvh-muted)}
.bvh-meta strong{color:var(--bvh-ink)}
.bvh-tabs{display:flex;gap:4px;margin-bottom:36px;border-bottom:1px solid var(--bvh-line);overflow-x:auto;scrollbar-width:none}
.bvh-tabs a{display:block;margin-bottom:-1px;padding:14px 18px;border-bottom:3px solid transparent;color:var(--bvh-muted);font-weight:500;text-decoration:none;white-space:nowrap;transition:color .2s var(--bvh-ease),border-color .2s var(--bvh-ease)}
.bvh-tabs a:hover{color:var(--bvh-brand)}
.bvh-tabs a[aria-current="page"]{color:var(--bvh-brand);border-bottom-color:var(--bvh-brand)}
.bvh-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--bvh-line);border:1px solid var(--bvh-line)}
.bvh-tile{display:flex;flex-direction:column;gap:10px;padding:28px 30px;background:#fff}
.bvh-tile .bvh-kicker{margin-bottom:0}
.bvh-tile h2{font-size:21px}
.bvh-tile__value{font-size:clamp(26px,2.4vw,34px);font-weight:700;line-height:1.15;color:var(--bvh-brand)}
.bvh-tile .bvh-link{margin-top:auto;padding-top:10px}
@media (max-width:960px){.bvh-tiles{grid-template-columns:1fr}}
.bvh-section{margin-top:clamp(44px,5vw,64px)}
.bvh-section > h2{margin-bottom:10px}
.bvh-soon{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:0;padding:0;list-style:none}
.bvh-soon li{display:grid;gap:4px;padding:20px 22px;border:1px solid var(--bvh-line);background:var(--bvh-tint)}
.bvh-soon strong{color:var(--bvh-brand)}
.bvh-soon span{font-size:15px;line-height:1.5;color:var(--bvh-muted)}
.bvh-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
@media (max-width:900px){.bvh-split{grid-template-columns:1fr}}
.bvh-panel{padding:clamp(24px,3vw,36px);border:1px solid var(--bvh-line);background:#fff}
.bvh-panel h2{margin-bottom:8px}
.bvh-dl{display:grid;grid-template-columns:minmax(170px,max-content) 1fr;gap:12px 28px;margin-top:18px;font-size:17px}
.bvh-dl dt{color:var(--bvh-muted)}
.bvh-dl dd{font-weight:500;overflow-wrap:anywhere}
@media (max-width:560px){.bvh-dl{grid-template-columns:1fr;gap:2px}.bvh-dl dd{margin-bottom:12px}}
.bvh-badge{display:inline-flex;align-items:center;gap:8px;padding:4px 12px;border:1px solid;font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap}
.bvh-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
.bvh-badge--ok{color:var(--bvh-positive);background:#E6F2EE;border-color:#B7D8CC}
.bvh-badge--info{color:var(--bvh-accent-700);background:var(--bvh-accent-050);border-color:#C3CAFF}
.bvh-badge--warn{color:var(--bvh-warn);background:#FBF3E4;border-color:#E8D3A8}
.bvh-badge--muted{color:var(--bvh-muted);background:var(--bvh-tint);border-color:var(--bvh-line)}
.bvh-list{margin:14px 0 0;padding:0;list-style:none}
.bvh-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;padding:14px 0;border-bottom:1px solid var(--bvh-line)}
.bvh-list li:last-child{border-bottom:0}
.bvh-list small{font-size:14px;color:var(--bvh-muted)}
.bvh-empty{max-width:780px;padding:clamp(28px,4vw,48px);border:1px dashed var(--bvh-line-strong)}
.bvh-empty p{margin:10px 0 24px;color:var(--bvh-muted)}

/* Fussbereich */
.bvh-footer{padding:clamp(56px,6vw,88px) var(--bvh-gutter) 40px;background:var(--bvh-deep);color:rgba(255,255,255,.72);font-size:16px}
.bvh-footer a{color:rgba(255,255,255,.72);text-decoration:none}
.bvh-footer a:hover{color:var(--bvh-green-tint)}
.bvh-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:56px;padding-bottom:56px}
.bvh-footer__brand img{height:56px;width:auto;margin-bottom:24px}
.bvh-footer__brand p{max-width:40ch;line-height:1.7}
.bvh-footer__h{margin:0 0 20px;color:#fff;font-size:14px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.bvh-footer ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.bvh-footer__adr{font-size:15px;line-height:1.8;color:rgba(255,255,255,.62)}
.bvh-footer__legal{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;padding-top:32px;border-top:1px solid rgba(255,255,255,.16);font-size:15px}
.bvh-footer__legal nav{display:flex;flex-wrap:wrap;gap:24px}
@media (max-width:860px){.bvh-footer__grid{grid-template-columns:1fr;gap:36px}}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{.bvh-header__util,.bvh-footer,.bvh-tabs,.bvh-auth__aside{display:none}}

/* BVH Mitgliedernetzwerk: Strom, Beitraege, Profile */
.bvh-feed{display:grid;gap:20px;margin-top:24px}
.bvh-feld{display:grid;gap:6px;margin-bottom:14px}
.bvh-label{font-size:14px;font-weight:600;color:var(--bvh-brand)}
.bvh-feld textarea,.bvh-feld input,.bvh-feld select{width:100%;border:1px solid var(--bvh-line);border-radius:0;padding:10px 12px;font:inherit;font-size:16px;color:var(--bvh-ink);background:#fff}
.bvh-feld textarea{resize:vertical;min-height:72px;line-height:1.6}
.bvh-feld textarea:focus,.bvh-feld input:focus,.bvh-feld select:focus{outline:none;border-color:var(--bvh-brand);box-shadow:0 0 0 2px rgba(0,55,57,.18)}
.bvh-avatar{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--bvh-green-tint);color:var(--bvh-brand);font-weight:700;font-size:18px;line-height:1;border:1px solid var(--bvh-line)}
.bvh-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.bvh-avatar--s{width:34px;height:34px;font-size:14px}
.bvh-avatar--l{width:72px;height:72px;font-size:28px}
.bvh-avatar--verband{background:var(--bvh-brand);color:#fff;border-color:var(--bvh-brand)}
.bvh-post{background:#fff;border:1px solid var(--bvh-line);padding:20px}
.bvh-post__kopf{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px}
.bvh-post__autor{display:grid;gap:2px;min-width:0}
.bvh-post__autor a{color:var(--bvh-brand);font-weight:600;text-decoration:none}
.bvh-post__autor a:hover,.bvh-post__autor a:focus{text-decoration:underline}
.bvh-post__rolle{font-size:14px;color:var(--bvh-muted)}
.bvh-post__zeit{font-size:13px;color:var(--bvh-muted)}
.bvh-post__text{line-height:1.7;overflow-wrap:anywhere}
.bvh-post__bild{margin:14px 0 0}
.bvh-post__bild img{max-width:100%;height:auto;display:block;border:1px solid var(--bvh-line)}
.bvh-post__verweis{margin:12px 0 0;font-size:15px;overflow-wrap:anywhere}
.bvh-post__zahlen{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--bvh-line);font-size:14px;color:var(--bvh-muted)}
.bvh-post__aktionen{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:10px}
.bvh-post__aktionen form{margin:0}
.bvh-btn--still{background:#fff;color:var(--bvh-brand);border:1px solid var(--bvh-line-strong);padding:8px 16px;font-size:15px;cursor:pointer}
.bvh-btn--still:hover,.bvh-btn--still:focus{border-color:var(--bvh-brand);background:var(--bvh-tint)}
.bvh-btn--still.is-aktiv{background:var(--bvh-green-tint);border-color:var(--bvh-brand);font-weight:600}
.bvh-komm{margin-top:14px;border-top:1px solid var(--bvh-line);padding-top:12px}
.bvh-komm>summary,.bvh-melden>summary{cursor:pointer;font-size:14px;color:var(--bvh-brand);font-weight:600;list-style:none}
.bvh-komm>summary::-webkit-details-marker,.bvh-melden>summary::-webkit-details-marker{display:none}
.bvh-komm>summary:hover,.bvh-melden>summary:hover{text-decoration:underline}
.bvh-komm__eintrag{margin-top:14px;padding:12px;background:var(--bvh-tint);border:1px solid var(--bvh-line)}
.bvh-komm__eintrag p{margin:0;line-height:1.6;overflow-wrap:anywhere}
.bvh-komm__eintrag .bvh-avatar{width:34px;height:34px;font-size:14px}
.bvh-komm__form{margin-top:14px}
.bvh-melden{margin:0}
.bvh-melden>summary{font-size:13px;color:var(--bvh-muted);font-weight:400}
.bvh-melden form{margin-top:10px;padding:12px;border:1px solid var(--bvh-line);background:var(--bvh-tint);max-width:520px}
.bvh-panel--eingabe{margin-bottom:8px}
.bvh-eingabe__kopf{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.bvh-eingabe__kopf strong{display:block;color:var(--bvh-brand)}
.bvh-zurueck{margin:0 0 16px;font-size:15px}
.bvh-suche{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:16px 0 20px}
.bvh-suche .bvh-feld{flex:1 1 260px;margin:0}
.bvh-mitglieder{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.bvh-mitglieder a{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--bvh-line);text-decoration:none;color:var(--bvh-ink);background:#fff}
.bvh-mitglieder a:hover,.bvh-mitglieder a:focus{border-color:var(--bvh-brand);background:var(--bvh-tint)}
.bvh-mitglieder strong{display:block;color:var(--bvh-brand)}
.bvh-mitglieder .bvh-note{font-size:14px}
.bvh-profilkarte__kopf{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}
.bvh-profilkarte__kopf h2{margin:0}
@media (max-width:640px){.bvh-post{padding:16px}.bvh-post__aktionen{gap:8px}.bvh-post__aktionen .bvh-btn--still{flex:1 1 auto;text-align:center}.bvh-profilkarte__kopf{flex-direction:column}}
button.bvh-link{background:none;border:0;padding:0;margin-top:8px;color:var(--bvh-muted);font:inherit;font-size:13px;cursor:pointer;text-decoration:underline}
button.bvh-link:hover,button.bvh-link:focus{color:var(--bvh-brand)}
.bvh-zurueckziehen{margin:0}
