/*
Theme Name: Simon Baumeister Basis
Author: Simon Baumeister
Description: Kleine WordPress-Grundlage mit einer eigenen Inhaltsverwaltung. Gestaltung und Vorgaben kommen aus dem jeweiligen Child-Theme.
Version: 0.1.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: sb-base
License: GPL-2.0-or-later
*/

:root {
    --sb-paper: #f1f0ed;
    --sb-ink: #222220;
    --sb-body: system-ui, sans-serif;
    --sb-heading: var(--sb-body);
    --sb-gutter: clamp(1.5rem, 6vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sb-paper); color: var(--sb-ink); font-family: var(--sb-body); }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 7px; }
.sb-skip { position: absolute; z-index: 20; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--sb-ink); color: var(--sb-paper); transform: translateY(-200%); }
.sb-skip:focus { transform: none; }
.sb-card { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 5rem; padding: var(--sb-gutter); }
.sb-card__intro h1, .sb-card__name { font-family: var(--sb-heading); }
.sb-card__intro h1 { margin: 0; font-size: clamp(2rem, 5vw, 5rem); overflow-wrap: anywhere; }
.sb-card__subline { margin: .75rem 0 0; font-size: clamp(1rem, 2.2vw, 2rem); }
.sb-card__details { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
.sb-card__name { margin: 0; font-size: 2rem; }
.sb-card__role { margin: .5rem 0 0; }
.sb-card__contact { display: grid; gap: .5rem; font-style: normal; }
.sb-card__contact a { width: fit-content; }
.sb-legal { display: flex; justify-content: flex-end; gap: 1.5rem; padding: 0 var(--sb-gutter) 1.5rem; font-size: .75rem; }
.sb-page { max-width: 55rem; margin: 0 auto; padding: var(--sb-gutter); line-height: 1.7; }
.sb-page h1 { font-family: var(--sb-heading); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.2; }
.sb-page__back { display: inline-block; margin-bottom: 2rem; }
.sb-page img { max-width: 100%; height: auto; }
.sb-page iframe { max-width: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
