/* ============================================================
   style.css — katinka.work
   Stand 06.10.2026. Typografie-Basis liegt in typo.css (nach diesem
   Stylesheet einbinden). Farben und Maße nur als Token in :root.
   ============================================================ */

@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/titilliumweb-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/titilliumweb-400-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: "Titillium Web"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/titilliumweb-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/titilliumweb-600-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: "Titillium Web"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/titilliumweb-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Titillium Web"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/titilliumweb-700-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; }

:root {
    /* Farben: reines Weiß, kühle Neutraltöne, Logo-Rot als einzige Akzentfarbe */
    --weiss:       #ffffff;
    --text:        #1b1d21;
    --text-leise:  #51575f;
    --linie:       #d8dce1;
    --flaeche:     #f1f3f5;
    --rot:         #c20012;
    --rot-dunkel:  #94000e;
    --fokus:       #1b1d21;

    --schrift: "Titillium Web", "Helvetica Neue", Arial, sans-serif;
    --rand: clamp(1rem, 4vw, 2rem);
    --breite: 75rem;
    --radius: .5rem;
    --abstand: clamp(2.5rem, 6vw, 4.5rem);

    /* Tokens der Navigation (navigation.css) */
    --nav-grund: var(--weiss);
    --nav-link:  var(--text);
    --nav-knopf: var(--rot);
    --auf-farbe: #ffffff;
    --burger:    var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; }
body {
    margin: 0; background: var(--weiss); color: var(--text);
    font-family: var(--schrift); font-size: 1rem; line-height: 1.6;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding: 0; }
a { color: var(--rot); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--rot-dunkel); }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   navigation.css — Kopf und Navigation ohne JavaScript
   Vorlage aus website-bau-basics/vorlage/ (30.09.2026).
   Nicht als eigene Datei einbinden, sondern ins style.css des
   Projekts kopieren und die Token dort in :root setzen:
   --nav-grund, --nav-link, --nav-knopf, --auf-farbe, --burger,
   --linie, --fokus, --rand.
   Gehört zu header.html (Checkbox ~ Label ~ nav) und navigation.js.
   ============================================================ */

.sprunglink {
    position: absolute; left: var(--rand); top: -10rem; z-index: 20;
    background: var(--nav-grund); padding: .5rem 1rem;
}
.sprunglink:focus { top: .5rem; }

header {
    position: sticky; top: 0; z-index: 10;
    background: var(--nav-grund);
    box-shadow: 0 1px 0 var(--linie);
}
html { scroll-padding-top: 6rem; }   /* Sprungziele nicht unter dem Kopf */

.kopf-innen {
    max-width: 75rem; margin: 0 auto; padding: .6rem var(--rand);
    display: flex; align-items: center; gap: 1.5rem;
}
.marke { display: flex; align-items: center; gap: .75rem; margin-right: auto; text-decoration: none; }
.marke img { width: 2.6rem; height: auto; }

/* Die Checkbox bleibt per Tastatur erreichbar, ist aber unsichtbar. */
.nav-schalter { position: absolute; opacity: 0; pointer-events: none; }
/* Wo es keinen Burger gibt, auch keinen Schalter — sonst ein unsichtbarer
   Tabulator-Halt, Lighthouse: »Formularelement ohne Label« (Schedler, 01.10.2026).
   Wert = Umbruchpunkt unten + 1. */
@media (min-width: 900px) { .nav-schalter { display: none; } }
.nav-schalter:focus-visible ~ .burger { outline: 3px solid var(--fokus); }

nav ul { list-style: none; display: flex; align-items: center; gap: 1.6rem; }
nav a { color: var(--nav-link); text-decoration: none; white-space: nowrap; }
nav a:hover, nav a.aktiv { text-decoration: underline; text-underline-offset: .25em; }
nav .knopf { background: var(--nav-knopf); color: var(--auf-farbe); padding: .55rem 1.2rem; border-radius: 2rem; }
nav .knopf:hover { text-decoration: none; }

.burger { display: none; flex-direction: column; gap: 5px; padding: .5rem; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; background: var(--burger); }

/* Umbruchpunkt an die Zahl der Menüpunkte anpassen: so breit, dass alle
   Links nebeneinander passen, ohne die Marke zu quetschen. */
@media (max-width: 899px) {
    .burger { display: flex; }
    nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: var(--nav-grund); box-shadow: 0 1px 0 var(--linie);
        padding: .5rem var(--rand) 1.25rem;
    }
    #nav-toggle:checked ~ nav { display: block; }
    nav ul { flex-direction: column; align-items: flex-start; gap: .9rem; }
}


.marke img { width: 7rem; height: auto; }
.liste + p { margin-top: 1.1rem; }
header { background: var(--nav-grund); }
nav .knopf:hover { background: var(--rot-dunkel); color: var(--auf-farbe); }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: .1em; }

/* ─── Gerüst ─────────────────────────────────────────────── */
.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: var(--abstand) 0; }
.abschnitt.flaeche { background: var(--flaeche); }
.abschnitt.linie { border-top: 1px solid var(--linie); }

h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.1rem; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin-bottom: .5rem; }
p + p { margin-top: .9rem; }
.lead { font-size: 1.2rem; line-height: 1.5; color: var(--text-leise); }
.leise { color: var(--text-leise); }
.klein { font-size: .9rem; }
h1 + .lead { margin-top: 1rem; }
.kicker { font-size: .85rem; font-weight: 600; color: var(--rot); margin-bottom: .6rem; }
.fliess { max-width: var(--zeile); }

.knopf-gross {
    display: inline-block; margin-top: 1.6rem; padding: .75rem 1.7rem; border-radius: 2.5rem;
    background: var(--rot); color: #fff; font-weight: 600; text-decoration: none; hyphens: none;
}
.knopf-gross:hover { background: var(--rot-dunkel); color: #fff; }
.knopf-leise {
    display: inline-block; margin-top: 1.4rem; padding: .65rem 1.5rem; border-radius: 2.5rem;
    border: 2px solid var(--text); color: var(--text); font-weight: 600; text-decoration: none; hyphens: none;
}
.knopf-leise:hover { background: var(--text); color: #fff; }

/* Haken- und Punktlisten */
.liste { list-style: none; margin-top: .9rem; }
.liste li { position: relative; padding-left: 1.4rem; margin-top: .45rem; }
.liste li::before { content: ""; position: absolute; left: 0; top: .62em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--rot); }
.liste.nein li::before { background: transparent; border: 2px solid var(--text-leise); width: .6rem; height: .6rem; }
.liste.eng li { margin-top: .3rem; }

/* ─── Start: Kopf ─────────────────────────────────────────── */
.hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 var(--abstand); overflow: hidden; }
.hero-raster { display: grid; gap: 2rem; align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 1.2rem; max-width: 34rem; }
.motiv { display: none; position: relative; width: 100%; aspect-ratio: 1; max-width: 22rem; justify-self: center; }
.motiv::before, .motiv::after { content: ""; position: absolute; inset: 0; }
.motiv::before { background: var(--rot); border-radius: 50%; inset: 8% 6% 6% 8%; }
.motiv::after { border: 2px solid var(--text); border-radius: 48% 52% 49% 51% / 52% 48% 53% 47%; transform: rotate(-6deg); inset: 2%; }
@media (min-width: 760px) {
    .hero-raster { grid-template-columns: 1.5fr 1fr; gap: 3rem; }
    .motiv { display: block; }
}

/* Zwei Spalten */
.zwei { display: grid; gap: 2rem; }
@media (min-width: 760px) { .zwei { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.drei { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .drei { grid-template-columns: repeat(3, 1fr); } }

/* Problem-Kästen */
.probleme { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .probleme { grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; } }
.probleme h3 { margin-bottom: .2rem; }

/* Pakete */
.pakete { display: grid; gap: 1.25rem; margin-top: 1.8rem; }
@media (min-width: 900px) { .pakete { grid-template-columns: repeat(3, 1fr); } }
.paket { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; }
.paket h3 { font-size: 1.35rem; margin-bottom: .1rem; }
.paket .unter { color: var(--text-leise); font-weight: 600; margin-bottom: 1rem; }
.paket .liste { flex: 1; margin-top: 0; }
.preis { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--linie); font-size: 2.1rem; font-weight: 700; line-height: 1.1; }
.preis small { display: block; margin-top: .3rem; font-size: .85rem; font-weight: 400; color: var(--text-leise); }
.zusatz { margin-top: 1.5rem; padding: 1.1rem 1.3rem; border-left: 4px solid var(--rot); background: var(--weiss); border-radius: 0 var(--radius) var(--radius) 0; }
.flaeche .zusatz { background: var(--weiss); }

/* Ablauf */
.schritte { list-style: none; counter-reset: schritt; display: grid; gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 760px) { .schritte { grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; } }
.schritte li { counter-increment: schritt; position: relative; padding-left: 3rem; }
.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--rot); color: #fff; font-weight: 700; display: grid; place-items: center; }
.schritte h3 { margin-bottom: .15rem; }

/* Webdesign-Beispiele */
.faelle { display: grid; gap: 3.5rem; margin-top: 2rem; }
.fall { display: grid; gap: 1.25rem; }
.fall figure > a { display: block; border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.fall figure img { width: 100%; }
.fall figcaption { margin-top: .5rem; font-size: .85rem; color: var(--text-leise); }
.fall dl { margin-top: 1rem; }
.fall dt { font-weight: 600; margin-top: .8rem; }
.fall dd { margin-top: .15rem; }
.fall .aufgabe { color: var(--text-leise); font-weight: 600; }
@media (min-width: 900px) {
    .fall { grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
    .fall:nth-child(even) { grid-template-columns: 1fr 1.2fr; }
    .fall:nth-child(even) figure { order: 2; }
}

/* Buchgestaltung */
.buecher { display: grid; gap: 3.5rem; }
.buch { display: grid; gap: 1.5rem; align-items: start; }
.buch .titel-bild img { width: 100%; border: 1px solid var(--linie); }
.buch dl { margin-top: 1rem; }
.buch dt { font-weight: 600; display: inline; }
.buch dd { display: inline; margin: 0; }
.buch dd::after { content: ""; display: block; }
.buch .daten { font-size: .92rem; color: var(--text-leise); }
.buch-reihe { display: grid; gap: 2.5rem; margin-top: 1.5rem; }
.buch-klein img { width: 100%; max-width: 16rem; border: 1px solid var(--linie); }
.buch-klein h2 { font-size: 1.25rem; margin: 1rem 0 .3rem; }
.buch-klein .daten { font-size: .92rem; color: var(--text-leise); margin-top: .5rem; }
@media (min-width: 760px) { .buch-reihe { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.seiten { display: grid; gap: .75rem; margin-top: 1.5rem; }
.seiten img { width: 100%; border: 1px solid var(--linie); }
@media (min-width: 760px) {
    .buch { grid-template-columns: 15rem 1fr; gap: 2.5rem; }
    .buch.breit { grid-template-columns: 1fr 1fr; }
    .seiten { grid-template-columns: repeat(3, 1fr); }
}

/* Über mich */
.ueber { display: grid; gap: 2rem; align-items: start; }
.ueber figure + figure { margin-top: 1rem; }
.ueber img { width: 100%; }
@media (min-width: 800px) { .ueber { grid-template-columns: 1fr 1.5fr; gap: 3.5rem; } }
blockquote.zitat { margin-top: 1.8rem; padding-left: 1.2rem; border-left: 4px solid var(--rot); font-size: 1.25rem; line-height: 1.4; font-weight: 600; }
blockquote.zitat cite { display: block; margin-top: .5rem; font-size: .9rem; font-weight: 400; font-style: normal; color: var(--text-leise); }
.mein-ja { list-style: none; margin-top: .8rem; }
.mein-ja li { margin-top: .15rem; }
.mein-ja li:last-child { margin-top: .8rem; font-weight: 700; }
.stationen { list-style: none; margin-top: 1rem; }
.stationen li { margin-top: .7rem; padding-left: 7.2rem; position: relative; }
.stationen .jahr { position: absolute; left: 0; width: 6.5rem; font-weight: 600; color: var(--text-leise); font-variant-numeric: tabular-nums; }
@media (max-width: 520px) { .stationen li { padding-left: 0; } .stationen .jahr { position: static; display: block; width: auto; } }

/* Kontakt und Rechtliches */
.mail { display: inline-block; margin-top: .6rem; font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 700; hyphens: none; overflow-wrap: anywhere; }
address { font-style: normal; margin-top: 1rem; }
.recht h2 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: .5rem; }
.recht h3 { margin-top: 1.4rem; }
.recht p { max-width: var(--zeile); }

/* Frohes Fest */
.karten-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 2rem 1.5rem; margin-top: 2rem; align-items: start; }
.karten-raster img { width: 100%; border: 1px solid var(--linie); }
.karten-raster figcaption { margin-top: .5rem; font-size: .9rem; color: var(--text-leise); }

/* Fuß */
footer { margin-top: 0; border-top: 1px solid var(--linie); background: var(--flaeche); padding: 2rem 0 2.2rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.fuss-links { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.fuss-links a { color: var(--text); }
.fuss-links a:hover { color: var(--rot); }
.fuss-copy { margin-top: 1rem; font-size: .88rem; color: var(--text-leise); }

@media print {
    .motiv, .knopf-gross, .knopf-leise { display: none !important; }
    a { color: #000; }
    .paket, .fall, .buch { break-inside: avoid; }
}
