/* SG Base — Reset, Geometrie (radius 0), Typografie, Buttons, Breadcrumb, Section-Basis */

/* Kantige Formsprache: global keine Radien (Spec §2) */
:root{--sg-radius:0}
button,input,textarea,select,.sg-card,.sg-link-card,.sg-cta,.sg-mega-menu,.sg-widget,
.wp-element-button,.wp-block-button__link,.wp-block-image img,.wp-block-cover,.sg-btn{border-radius:0!important}

html{scroll-padding-top:var(--sg-header-height)} /* Ankerlinks nicht hinter Header (Spec §45) */
body{font-family:var(--sg-font);color:var(--sg-text);background:var(--sg-warm-white);line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,video{max-width:100%;height:auto;display:block}

h1,h2,h3{letter-spacing:-.04em;line-height:.98;font-weight:600;color:var(--sg-black)}
h1{font-size:var(--sg-h1)}h2{font-size:var(--sg-h2)}h3{font-size:var(--sg-h3);letter-spacing:-.02em;line-height:1.05}
.sg-eyebrow{font-size:var(--sg-small);letter-spacing:.18em;text-transform:uppercase;color:var(--sg-text-muted)}
.sg-eyebrow--accent{color:var(--sg-glass-blue)}
p{margin:0 0 1.2em}
a{color:inherit;text-decoration:none;transition:color var(--sg-ease)}
a:hover,a:focus-visible{color:var(--sg-glass-blue)}

.sg-container{max-width:var(--sg-content);margin-inline:auto;padding-inline:clamp(1.25rem,4vw,3rem)}
.sg-measure{max-width:var(--sg-text-width)}

/* --- Buttons: kantig, kein Pill (Spec §14) --- */
.sg-btn,.wp-block-button__link{display:inline-flex;align-items:center;gap:.6rem;padding:.95rem 1.6rem;font-weight:500;font-size:1rem;line-height:1;border:1px solid transparent;transition:background-color var(--sg-ease),color var(--sg-ease),border-color var(--sg-ease);min-height:44px}
.sg-btn--primary,.is-style-sg-primary .wp-block-button__link{background:var(--sg-white);color:var(--sg-black);border-color:var(--sg-white)}
.sg-btn--primary:hover,.is-style-sg-primary .wp-block-button__link:hover{background:transparent;color:var(--sg-white)}
.sg-btn--secondary,.is-style-sg-secondary .wp-block-button__link{background:transparent;color:var(--sg-white);border-color:rgba(255,255,255,.6)}
.sg-btn--secondary:hover,.is-style-sg-secondary .wp-block-button__link:hover{background:var(--sg-white);color:var(--sg-black);border-color:var(--sg-white)}
.sg-btn--dark,.is-style-sg-dark .wp-block-button__link{background:var(--sg-black);color:var(--sg-white);border-color:var(--sg-black)}
.sg-btn--dark:hover,.is-style-sg-dark .wp-block-button__link:hover{background:transparent;color:var(--sg-black)}
/* Auf hellen Sektionen invertieren Primär-Buttons zu schwarz/weiß */
.sg-section-white .sg-btn--primary,.sg-section-warm .sg-btn--primary,
.is-style-sg-section-white .is-style-sg-primary .wp-block-button__link,
.is-style-sg-section-warm .is-style-sg-primary .wp-block-button__link{background:var(--sg-black);color:var(--sg-white);border-color:var(--sg-black)}
.sg-section-white .sg-btn--primary:hover,.sg-section-warm .sg-btn--primary:hover{background:transparent;color:var(--sg-black)}

/* --- Section-Basis + Block-Styles (Spec §16/§17/§43) --- */
.sg-section,.is-style-sg-section-white,.is-style-sg-section-warm,.is-style-sg-section-dark{padding-block:clamp(3.5rem,8vw,9rem)}
.is-style-sg-section-white{background:var(--sg-white);color:var(--sg-text)}
.is-style-sg-section-warm{background:var(--sg-warm-white);color:var(--sg-text)}
.is-style-sg-section-dark{background:var(--sg-black);color:#fff}
.is-style-sg-section-dark :is(h1,h2,h3){color:#fff}
.is-style-sg-section-dark a{color:#fff}
.is-style-sg-section-dark a:hover{color:var(--sg-glass-blue)}
.is-style-sg-section-narrow{max-width:var(--sg-text-width);margin-inline:auto}

/* --- Breadcrumb: zurückhaltend, technisch (Spec §31) --- */
.sg-breadcrumb{font-size:var(--sg-small);color:var(--sg-text-muted);border-bottom:1px solid var(--sg-line)}
.sg-breadcrumb__list{list-style:none;margin:0;padding:.75rem clamp(1.25rem,4vw,3rem);display:flex;flex-wrap:wrap;align-items:center;max-width:var(--sg-content);margin-inline:auto}
.sg-breadcrumb__item{display:inline-flex;align-items:center}
.sg-breadcrumb__item + .sg-breadcrumb__item::before{content:"/";margin:0 .6rem;color:var(--sg-line)}
.sg-breadcrumb__item[aria-current="page"]{color:var(--sg-text)}
.sg-breadcrumb a:hover{color:var(--sg-glass-blue)}
.sg-breadcrumb--article{border-bottom:0;padding-block:0}

/* Content-Utilities (für importierte Seiten) */
.lead{font-size:var(--sg-body-lg);max-width:var(--sg-text-width);line-height:1.45}
.sg-measure{max-width:var(--sg-text-width)}
.muted{color:var(--sg-text-muted)}
.light-muted{color:rgba(255,255,255,.66)}
.sg-kicker{font-size:var(--sg-small);letter-spacing:.16em;text-transform:uppercase;color:var(--sg-text-muted)}
.sg-authorbox{border:1px solid var(--sg-line);padding:1.5rem;display:flex;gap:1rem;align-items:flex-start}
.sg-authorbox__meta b{display:block}
.sg-authorbox__meta span{font-size:var(--sg-small);color:var(--sg-text-muted)}
.sg-reviewed{font-size:var(--sg-small);color:var(--sg-text-muted);letter-spacing:.02em}
.sg-stat{border-top:1px solid var(--sg-line);padding-top:1rem}
.sg-stat b{display:block;font-size:1.9rem;letter-spacing:-.03em}
.sg-stat span{font-size:var(--sg-small);letter-spacing:.1em;text-transform:uppercase;color:var(--sg-text-muted)}

.sg-zone__item + .sg-zone__item{margin-top:1.5rem}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap;border:0;padding:0;margin:-1px}
