/*
Theme Name: Clipart
Description: Eigenes Theme für produktionclipart.de – dunkles Design (Mischung aus Entwurf D „Mediathek“ und F „Abspann“). Gesamtes Design in dieser Datei; Inhalte über das Plugin „Clipart Inhalte“.
Version: 0.2.0
Author: Maxim Becker
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: clipart
*/

/* ==========================================================================
   1. Design-Variablen – Farben, Schriften, Abstände, Rundungen.
   ========================================================================== */
:root {
	/* Flächen (dunkel) */
	--grund:        #1a1d22;
	--grund-2:      #24282f;   /* Kästen, Karten */
	--grund-3:      #2e333b;   /* Hover, Eingabefelder */
	--linie:        #3a404a;

	/* Text */
	--text:         #f2f3f5;
	--text-leise:   #bcc2ca;
	--text-sehrleise: #959ca6;

	/* Logo-Farben */
	--orange:       #f0a420;   /* Akzent: Linien, aktive Zustände, Hauptknopf */
	--blau:         #006ab3;   /* Flächen (z. B. Aufruf-Streifen) */
	--link:         #8cc4ee;   /* Links auf dunklem Grund (helles Logo-Blau) */

	/* Schriften (lokal eingebunden, siehe @font-face unten) */
	--schrift-titel: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;
	--schrift:       "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
	--schrift-mono:  "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

	/* Maße */
	--breite: 1280px;
	--rand: clamp(16px, 4vw, 32px);
	--abstand: clamp(56px, 9vw, 112px);
	--rund: 14px;        /* Bilder, Karten, Kästen */
	--rund-klein: 8px;   /* Knöpfe, Felder */
}

/* Schriften – Dateien liegen in assets/fonts (keine Verbindung zu Google, DSGVO) */
@font-face { font-family: "Libre Franklin"; font-weight: 800; font-display: swap; src: url(assets/fonts/libre-franklin-800.woff2) format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-weight: 900; font-display: swap; src: url(assets/fonts/libre-franklin-900.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(assets/fonts/source-sans-3-400.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(assets/fonts/source-sans-3-600.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(assets/fonts/source-sans-3-700.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(assets/fonts/ibm-plex-mono-500.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url(assets/fonts/ibm-plex-mono-600.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 700; font-display: swap; src: url(assets/fonts/ibm-plex-mono-700.woff2) format("woff2"); }

/* ==========================================================================
   2. Grundlagen
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; font-family: var(--schrift); font-size: 18px; line-height: 1.6; color: var(--text); background: var(--grund); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; margin: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: var(--rund-klein); }
.mono { font-family: var(--schrift-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-sehrleise); }
.text { max-width: 68ch; color: #dfe2e6; }
.text h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.6em 0 .5em; }
.text > h2:first-child { margin-top: 0; }
.text strong { color: #fff; }
.text ul { padding-left: 1.2em; }

/* ==========================================================================
   3. Kopf & Fuß
   ========================================================================== */
.kopf { border-bottom: 1px solid var(--linie); background: var(--grund); position: relative; z-index: 5; }
.kopf__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; min-height: 76px; }
.kopf__logo img { height: 40px; width: auto; }
.kopf__menuknopf { display: none; font: inherit; font-weight: 600; padding: 10px 16px; border: 1px solid var(--linie); background: var(--grund-2); color: var(--text); border-radius: var(--rund-klein); cursor: pointer; }
.kopf__nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 26px; }
.kopf__nav a { color: var(--text-leise); text-decoration: none; font-weight: 600; font-size: 17px; padding: 26px 0 23px; display: inline-block; border-bottom: 3px solid transparent; }
.kopf__nav a:hover { color: #fff; }
.kopf__nav .current-menu-item > a { color: #fff; border-bottom-color: var(--orange); }

@media (max-width: 900px) {
	.kopf__menuknopf { display: inline-block; }
	.kopf__nav { display: none; flex-basis: 100%; padding-bottom: 12px; }
	.menu-offen .kopf__nav { display: block; }
	.kopf__nav .menu { flex-direction: column; }
	.kopf__nav a { padding: 14px 0; width: 100%; border-bottom: 0; border-top: 1px solid var(--linie); }
	.kopf__nav .current-menu-item > a { color: var(--orange); }
}

.fuss { background: #131519; border-top: 1px solid var(--linie); margin-top: var(--abstand); }
.fuss__gross { padding-block: clamp(48px, 7vw, 88px) 24px; }
.fuss__tel { display: inline-block; margin-top: 8px; font-family: var(--schrift-titel); font-weight: 900; font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.02em; color: #fff; text-decoration: none; line-height: 1; }
.fuss__tel:hover { color: var(--orange); }
.fuss__mail { display: inline-block; margin-top: 12px; font-size: 20px; }
.fuss__innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; padding-block: 32px 48px; border-top: 1px solid var(--linie); font-size: 15px; color: var(--text-leise); }
.fuss__logo { height: 34px; width: auto; margin-bottom: 12px; }
.fuss__nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fuss__nav a { color: var(--text-leise); }
.fuss__nav a:hover { color: #fff; }

/* ==========================================================================
   4. Bausteine
   ========================================================================== */
.knopf { display: inline-block; background: var(--orange); color: #111; text-decoration: none; font-weight: 700; padding: 14px 24px; border-radius: var(--rund-klein); border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.knopf:hover { background: #ffb938; color: #111; }
.knopf--zweit { background: var(--grund-3); color: #fff; }
.knopf--zweit:hover { background: #2a2e35; color: #fff; }

.abschnitt { padding-block: var(--abstand) 0; }
.abschnitt__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.abschnitt__titel { font-size: clamp(24px, 3.2vw, 38px); }
.abschnitt__titel--klein { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 16px; }
.abschnitt__kopf a { font-weight: 600; text-decoration: none; }

.seitenkopf { padding-block: clamp(48px, 8vw, 96px) 8px; }
.seitenkopf__spitzmarke { margin: 0 0 14px; }
.seitenkopf__titel { font-size: clamp(30px, 5vw, 66px); line-height: 1; letter-spacing: -0.03em; } /* kleiner als die Startseite (max. 92 px) */
.single-reportage .seitenkopf__titel { font-size: clamp(24px, 3.8vw, 50px); line-height: 1.05; hyphens: manual; }
.seitenkopf__lead { margin: 22px 0 0; font-size: clamp(18px, 2vw, 21px); color: var(--text-leise); max-width: 60ch; }
.seitenkopf__lead p:last-child { margin: 0; }

/* Seitenkopf mit Hintergrundbild (Beitragsbild der Seite, sonst Standardbild) */
/* Bild lange voll sichtbar, erst im unteren Drittel Übergang ins Dunkle; Titel sitzt im Übergang, Inhalt folgt direkt (Wunsch Leela 24.10.) */
.seitenkopf--bild { position: relative; min-height: clamp(420px, 74vh, 820px); display: flex; flex-direction: column; justify-content: flex-end; padding-block: 120px clamp(16px, 3vw, 32px); background: #000 center / cover no-repeat; }
.seitenkopf--bild::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(26,29,34,0) 0%, rgba(26,29,34,0) 45%, rgba(26,29,34,.55) 68%, rgba(26,29,34,.92) 88%, var(--grund) 100%); }
.seitenkopf--bild .seitenkopf__titel, .seitenkopf--bild .seitenkopf__lead, .seitenkopf--bild .seitenkopf__spitzmarke { text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 2px 20px rgba(0,0,0,.35); }
.seitenkopf--bild + .abschnitt, .seitenkopf--bild + .wrap.abschnitt { padding-top: clamp(16px, 3vw, 32px); }
@media (max-width: 700px) { .seitenkopf--bild { min-height: clamp(340px, 62vh, 560px); } }
/* Unterseiten einheitlich mittig (Wunsch Maxim 25.10.): Überschrift + Untertitel zentriert,
   Textspalte mittig auf der Seite; Zeilen im Fließtext bleiben linksbündig (lesbarer) */
.seitenkopf--bild .wrap { width: 100%; text-align: center; }
.seitenkopf--bild .seitenkopf__lead { margin-inline: auto; }
.seitenkopf--bild + .abschnitt > .text,
.seitenkopf--bild + .abschnitt > .reihe-intro,
.seitenkopf--bild + .abschnitt > .hinweis { margin-inline: auto; text-align: center; }
.seitenkopf--bild + .abschnitt > .text,
.seitenkopf--bild + .abschnitt > .reihe-intro { text-align: center; }
.seitenkopf--bild + .abschnitt > .text ul,
.seitenkopf--bild + .abschnitt > .text ol { list-style-position: inside; padding-left: 0; }
/* Produktionsspiegel: Trefferzeile mittig (Suchleiste selbst: Abschnitt „Suche“ unten) */
.suche__info { text-align: center; }
.seitenkopf--bild .wrap { position: relative; }
.seitenkopf--bild .seitenkopf__lead { color: #e1e4e8; }

/* Startseite: Hero mit Video (Bild in Farbe als Platzhalter) */
.hero { position: relative; min-height: clamp(520px, 82vh, 820px); display: flex; align-items: flex-end; background: #000 center / cover no-repeat; overflow: hidden; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Abdunklung: von links (hinter dem Text) und von unten, Video bleibt rechts oben sichtbar */
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(18,20,24,.82) 0%, rgba(18,20,24,.6) 45%, rgba(18,20,24,.2) 100%), linear-gradient(to top, rgba(26,29,34,.9) 0%, rgba(26,29,34,0) 45%); pointer-events: none; }
.hero__inhalt { position: relative; z-index: 1; padding-block: 64px; width: 100%; }
.hero__spitzmarke { color: var(--orange); margin-bottom: 16px; font-weight: 700; letter-spacing: .08em; }
.hero__titel { font-size: clamp(44px, 6.5vw, 92px); line-height: .95; letter-spacing: -0.04em; max-width: 14ch; }
.hero__lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: #fff; max-width: 60ch; }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__pause { position: absolute; z-index: 2; right: var(--rand); bottom: 20px; font: inherit; font-size: 14px; padding: 7px 12px; background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hero__titel, .hero__lead, .hero__spitzmarke { text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 2px 22px rgba(0,0,0,.4); }
/* Handy: Text nimmt fast die ganze Höhe ein → gleichmäßig abdunkeln, Titel etwas kleiner */
@media (max-width: 700px) {
	.hero::after { background: linear-gradient(to top, rgba(26,29,34,.94) 0%, rgba(26,29,34,.72) 45%, rgba(26,29,34,.55) 100%); }
	.hero__inhalt { padding-block: 40px 76px; }
	.hero__titel { font-size: clamp(36px, 10.5vw, 44px); }
	.hero__lead { font-size: 17px; }
}

/* Reportage-Karten (Raster wie Mediathek) */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 36px 20px; }
.karten--reihe { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.karte__link { display: flex; flex-direction: column; gap: 10px; color: var(--text); text-decoration: none; }
.karte__bildrahmen { position: relative; border-radius: var(--rund); overflow: hidden; background: var(--grund-2); }
.karte__bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s ease; }
.karte__link:hover .karte__bild { transform: scale(1.03); }
.karte__bild--leer { display: flex; align-items: center; justify-content: center; color: var(--text-sehrleise); font-family: var(--schrift-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.karte__neu { position: absolute; left: 10px; top: 10px; background: var(--orange); color: #111; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.karte__titel { font-family: var(--schrift); font-weight: 700; font-size: 19px; line-height: 1.3; letter-spacing: 0; }
.karte__link:hover .karte__titel { color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .karte__bild { transition: none; } }

/* Leistungen als große Zeilen (wie Abspann) */
.zeilen { border-top: 1px solid var(--linie); }
.zeile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px 40px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--text); }
@media (max-width: 700px) { .zeile { grid-template-columns: 1fr; } }
.zeile__titel { font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.01em; line-height: 1.15; }
.zeile__text { color: var(--text-leise); font-size: 16px; }
a.zeile:hover .zeile__titel { color: var(--orange); }

/* Kunden */
/* Senderlogos: einfarbig weiß direkt auf dunklem Grund, leicht zurückgenommen */
.kunden { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px 28px; align-items: center; }
.kunden li { height: 84px; display: flex; align-items: center; justify-content: center; padding: 12px 8px; border-top: 1px solid var(--linie); }
.kunden img { max-height: 40px; max-width: 100%; width: auto; height: auto; opacity: .72; transition: opacity .2s; }
.kunden li:hover img { opacity: 1; }
.kunden img[alt="NDR"] { max-height: 54px; } /* fast quadratisch, wirkt sonst zu klein */
.kunden img[alt="Arte"] { max-height: 30px; } /* breite, schwere Wortmarke */

/* Aufruf-Streifen */
.aufruf { margin-top: var(--abstand); }
.aufruf__innen { background: var(--blau); border-radius: var(--rund); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(28px, 5vw, 48px); }
.aufruf h2 { font-size: clamp(26px, 3.5vw, 40px); max-width: 22ch; }

/* Filter im Produktionsspiegel (Reiter wie Mediathek) */
.filter { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 36px; border-bottom: 1px solid var(--linie); }
.filter__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 26px; }
.filter__knopf { display: inline-block; padding: 14px 0 11px; border-bottom: 3px solid transparent; color: var(--text-leise); text-decoration: none; font-weight: 600; }
.filter__knopf:hover { color: #fff; }
.filter__knopf.is-aktiv { color: #fff; border-bottom-color: var(--orange); }
@media (max-width: 700px) {
	/* Handy: Themen als waagerecht wischbare Leiste statt vier Zeilen */
	.filter { margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); }
	.filter__liste { flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 0 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.filter__liste::-webkit-scrollbar { display: none; }
	.filter__knopf { white-space: nowrap; }
}
.filter__zahl { font-family: var(--schrift-mono); font-size: 12px; color: var(--text-sehrleise); }
.filter__jahr { display: flex; align-items: center; gap: 10px; padding-block: 8px; font-size: 15px; color: var(--text-leise); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.filter__jahr select { font: inherit; color: var(--text); padding: 9px 12px; border: 1px solid var(--linie); border-radius: var(--rund-klein); background: var(--grund-2); }
.reihe-intro { margin-bottom: 40px; font-size: 19px; }
.mehr { text-align: center; margin-top: 48px; }

/* Einzelne Reportage */
.reportage__bild { margin-block: 32px 0; }
.reportage__bild img { width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--rund); }
.reportage__bild figcaption { margin-top: 10px; }
.reportage__raster { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.reportage__raster .text { flex: 3 1 480px; min-width: 0; font-size: 19px; }

/* Credits wie im Abspann */
.credits { flex: 1 1 300px; min-width: 0; background: var(--grund-2); border-radius: var(--rund); padding: 28px; }
.credits__titel { font-family: var(--schrift-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.credits dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 20px; }
.credits dt { font-family: var(--schrift-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-sehrleise); padding-top: 4px; }
.credits dd { margin: 0; font-weight: 600; font-size: 17px; }
.credits dd.credits__firma { color: var(--orange); }

.blaettern { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: var(--abstand); padding-top: 24px; border-top: 1px solid var(--linie); font-weight: 600; }
.blaettern a { text-decoration: none; }

/* Team – Karten im Hochformat, Name und Rolle im Bild */
/* Flex statt Grid, damit eine unvollständige letzte Reihe mittig steht */
.team-reihen { display: flex; flex-direction: column; gap: 22px; }
.team { --spalten: 3; --abstand: 22px; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--abstand); }
.team__person { flex: 0 0 calc((100% - (var(--spalten) - 1) * var(--abstand)) / var(--spalten)); }
/* Reihen fest in page-team.php; Kartenbreite = ein Drittel, damit alle Reihen gleich breite Karten haben */
.team-reihen .team { max-width: 1000px; margin-inline: auto; width: 100%; }
.team__person { position: relative; aspect-ratio: 4 / 5; border-radius: var(--rund); overflow: hidden; background: var(--grund-2); isolation: isolate; }
.team__person .team__foto { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 30%; display: block; transition: transform .5s ease; }
.team__person:hover .team__foto { transform: scale(1.04); }
.team__person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,11,13,.88) 0%, rgba(10,11,13,.35) 32%, rgba(10,11,13,0) 55%); z-index: 0; }
.team__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; z-index: 1; }
.team__rolle { margin: 0 0 6px; color: var(--orange); }
.team__name { font-size: clamp(28px, 3vw, 36px); color: #fff; }
.team__text { color: #dfe2e6; margin: 8px 0 0; font-size: 16px; }
/* Gruppenbild (z. B. Hunde): kurzer Verlauf, kleine Schrift, damit das Bild sichtbar bleibt */
.team__person--gruppe::after { background: linear-gradient(to top, rgba(10,11,13,.9) 0%, rgba(10,11,13,.55) 16%, rgba(10,11,13,0) 30%); }
.team__person--gruppe .team__info { padding: 14px 18px; }
.team__person--gruppe .team__rolle { font-size: 10px; letter-spacing: .04em; margin-bottom: 3px; }
.team__person--gruppe .team__name { font-size: 19px; line-height: 1.15; }
@media (prefers-reduced-motion: reduce) { .team__foto { transition: none; } }
/* Handy: zwei Personen nebeneinander, kleinere Schrift */
@media (max-width: 600px) {
	.team { --spalten: 2; --abstand: 12px; }
	.team-reihen { gap: 12px; }
	.team__info { padding: 12px 12px; }
	.team__rolle { font-size: 10px; letter-spacing: .04em; }
	.team__name { font-size: 20px; }
	.team__text { font-size: 13px; }
}

/* Kontaktformular */
.formular { display: grid; gap: 18px; max-width: 640px; margin-top: 16px; }
.formular label { display: block; font-weight: 600; margin-bottom: 6px; }
.formular input[type=text], .formular input[type=email], .formular input[type=tel], .formular textarea { width: 100%; font: inherit; color: var(--text); background: var(--grund-2); border: 1px solid var(--linie); border-radius: var(--rund-klein); padding: 12px 14px; }
.formular input:focus, .formular textarea:focus { border-color: var(--orange); outline: none; }
.formular textarea { min-height: 170px; resize: vertical; }
.formular__check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-leise); }
.formular__check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--orange); }
.formular__falle { position: absolute; left: -9999px; }
.meldung { border-radius: var(--rund); padding: 16px 20px; margin-bottom: 20px; font-weight: 600; }
.meldung--ok { background: #12351f; color: #b9f0c9; }
.meldung--fehler { background: #3d1518; color: #ffc4c8; }
.kontakt-raster { display: flex; flex-wrap: wrap; gap: 48px; }
.kontakt-raster > * { flex: 1 1 380px; min-width: 0; }

/* ==========================================================================
   Social-Media-Symbole
   ========================================================================== */
.social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 10px; color: var(--text-leise); text-decoration: none; }
.social a:hover { color: #fff; }
.social svg { display: block; flex: none; }
.social--fuss span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* nur für Screenreader */
.social--fuss a { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--linie); border-radius: 50%; }
.social--gross a { padding: 10px 16px; background: var(--grund-2); border-radius: var(--rund-klein); color: #fff; font-weight: 600; }
.social--gross a:hover { background: var(--grund-3); }

/* ==========================================================================
   Karriere
   ========================================================================== */
.stellen { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.stelle__link { display: block; padding: 26px 28px; background: var(--grund-2); border-radius: var(--rund); color: #fff; text-decoration: none; transition: background .2s; }
.stelle__link:hover { background: var(--grund-3); color: #fff; }
.stelle__angaben { margin: 0 0 8px; color: var(--orange); }
.stelle__titel { font-size: clamp(22px, 2.6vw, 30px); }
.stelle__mehr { display: inline-block; margin-top: 12px; color: var(--text-leise); font-weight: 600; }
.stelle__hinweis { margin: 18px 0 0; font-size: 15px; color: var(--text-leise); }
.hinweis { max-width: 68ch; }
.seitenkopf__titel--lang { font-size: clamp(24px, 3.8vw, 50px); line-height: 1.05; }

/* ==========================================================================
   Suche im Produktionsspiegel
   ========================================================================== */
.suche { display: flex; gap: 10px; margin: 0 auto 8px; max-width: 640px; } /* mittig */
.suche__feld { flex: 1 1 auto; min-width: 0; font: inherit; font-size: 17px; color: var(--text); padding: 12px 16px; border: 1px solid var(--linie); border-radius: var(--rund-klein); background: var(--grund-2); }
.suche__feld:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.suche__knopf { font: inherit; font-weight: 700; padding: 12px 18px; border: 0; border-radius: var(--rund-klein); background: var(--grund-3); color: #fff; cursor: pointer; }
.suche__knopf:hover { background: #3a4049; }
.suche__info { margin: 0 0 24px; color: var(--text-leise); }
