/*
Theme Name:     Marinos 2026
Theme URI:
Description:    Child theme of Twenty Seventeen for marinos-consulting.com.
Author:         Evstathios Marinos
Author URI:     https://marinos-consulting.com
Template:       twentyseventeen
Version:        0.2.0
Text Domain:    marinos-2026
*/

/* ===========================================================================
   Schriften — lokal ausgeliefert.
   Keine Einbindung über fonts.googleapis.com: das überträgt die IP-Adresse
   jedes Besuchers an Google und ist in Deutschland abmahnfähig
   (LG München I, 20.01.2022). Beides sind Variable Fonts, eine Datei je
   Familie und Subset deckt alle Schnitte ab.
   =========================================================================== */

@font-face {
	font-family: 'Source Serif 4';
	font-style: normal;
	font-weight: 200 900;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/source-serif-4-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: 'Source Serif 4';
	font-style: normal;
	font-weight: 200 900;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/source-serif-4-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: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 100 700;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/ibm-plex-sans-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: 'IBM Plex Sans';
	font-style: normal;
	font-weight: 100 700;
	font-stretch: 100%;
	font-display: swap;
	src: url('assets/fonts/ibm-plex-sans-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;
}

/* ===========================================================================
   Regel für dieses Stylesheet: Basisregeln auf Elemente (a, img, p, h1–h3)
   stehen in :where() und haben damit die Spezifität null. Absatzregeln in
   Bausteinen gelten nur für p:not([class]). Sonst überstimmt „.x p“ jede
   Klasse wie .m-card__kicker — dieser Fehler ist hier dreimal aufgetreten.
   =========================================================================== */

/* ===========================================================================
   Gestaltungsgrundlagen — Kontrastwerte nach WCAG geprüft
   =========================================================================== */

:root {
	--ground:       #F6F4F0;  /* warmes Papier */
	--surface:      #FFFFFF;
	--ink:          #15191D;  /* 15:1 auf ground */
	--body:         #40464D;  /* 8,1:1 */
	--muted:        #575E66;  /* 5,9:1 */
	--line:         #DFDAD2;
	--line-strong:  #C9C2B7;
	--ziffer:       #8F8C86;  /* 3,05:1 — große Zierziffern, knapp über der Schwelle für große Schrift */
	--chip:         #EDEAE4;
	--accent:       #0F4C4A;  /* Petrol, Weiß darauf 9,3:1 */
	--accent-dark:  #0A3735;
	--accent-light: #9FC4C2;  /* auf accent 5,1:1 */
	--accent-pale:  #D6E4E3;  /* auf accent 7,1:1 */
	--sienna:       #A84B26;  /* 5,2:1 — nur als Marker */
	--serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--sans:  'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--pad: 80px;
	--maxw: 1280px;
}

/* ---- Grundlagen ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

body.marinos {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.marinos :where(img) { max-width: 100%; height: auto; }
.marinos :where(a) { color: var(--accent); text-decoration: none; }
.marinos :where(a:hover, a:focus) { color: var(--accent-dark); text-decoration: underline; }
.marinos :where(h1, h2, h3) {
	font-family: var(--serif);
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--ink);
	margin: 0;
}
.marinos :where(p) { margin: 0; }

.m-skip {
	position: absolute; left: -9999px; top: 0;
	background: var(--accent); color: #fff; padding: 12px 20px; z-index: 100;
}
.m-skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--sienna); outline-offset: 2px; }

.m-wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---- Kopfbereich --------------------------------------------------------- */

.m-header { border-bottom: 1px solid var(--line); background: var(--ground); }
.m-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	padding-top: 24px; padding-bottom: 24px; gap: 24px;
}
/* Sperrsatz: eine Zeile, damit er mit der Navigation fluchtet statt sie zu
   umklammern. Das Signet steht auf Zeilenhöhe — rund 1,9x die Versalhöhe des
   Namens; darüber beginnt es die Wortmarke zu dominieren. */
.m-brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.m-brand:hover, .m-brand:focus { color: var(--ink); text-decoration: none; }
.m-brand__mark { height: 26px; width: 29px; display: block; flex-shrink: 0; }
.m-brand__name { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; line-height: 1.2; }
.m-brand__sub { color: var(--muted); font-weight: 400; }

/* Nur für Screenreader — kam vorher aus dem Parent-Stylesheet. */
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.m-nav { display: flex; align-items: center; gap: 32px; }
.m-nav ul { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.m-nav :where(a) { font-size: 15px; color: var(--ink); }
.m-nav .current-menu-item > a,
.m-nav .current_page_item > a { color: var(--accent); font-weight: 500; }
.m-lang { font-size: 14px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 22px; }
.m-lang strong { color: var(--ink); font-weight: 600; }
.m-lang :where(a) { color: var(--muted); }

.m-btn {
	display: inline-block; border-radius: 2px; font-weight: 500;
	padding: 16px 30px; font-size: 16px; border: 1px solid transparent; cursor: pointer;
	font-family: var(--sans); line-height: 1.2;
}
.m-btn--primary { background: var(--accent); color: #fff; }
.m-btn--primary:hover, .m-btn--primary:focus { background: var(--accent-dark); color: #fff; text-decoration: none; }
.m-btn--ghost { color: var(--accent); border-color: var(--line-strong); }
.m-btn--ghost:hover, .m-btn--ghost:focus { border-color: var(--accent); text-decoration: none; }
.m-btn--light { background: #fff; color: var(--ink); font-weight: 600; }
.m-btn--light:hover, .m-btn--light:focus { background: var(--chip); color: var(--ink); text-decoration: none; }
.m-btn--sm { padding: 12px 22px; font-size: 15px; }

.m-burger { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--line); border-radius: 2px; align-items: center; justify-content: center; cursor: pointer; }

/* ---- Bausteine ----------------------------------------------------------- */

.m-eyebrow {
	display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: 0.09em;
	text-transform: uppercase; color: var(--accent);
	border-bottom: 2px solid var(--sienna); padding-bottom: 6px;
}
.m-label { font-family: var(--sans); font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.m-lead { font-size: 20px; line-height: 1.62; color: var(--body); }
.m-body { font-size: 18px; line-height: 1.7; color: var(--body); }
.m-note { font-size: 15px; color: var(--muted); font-style: italic; }

.m-card {
	background: var(--surface); border: 1px solid var(--line); border-radius: 3px;
	padding: 34px 32px; display: flex; flex-direction: column; gap: 14px;
}
.m-card__num { font-family: var(--serif); font-size: 15px; color: var(--sienna); font-weight: 600; }
.m-card h3 { font-size: 23px; line-height: 1.25; }
.m-grid--3 .m-card h3 { font-size: 21px; line-height: 1.3; }
.m-card p:not([class]) { font-size: 16px; line-height: 1.62; color: var(--body); }
.m-card__more { font-size: 15px; font-weight: 500; margin-top: auto; padding-top: 6px; }

.m-grid { display: grid; gap: 24px; }
.m-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.m-section { padding-top: 88px; padding-bottom: 88px; }
.m-section--tight { padding-top: 0; padding-bottom: 88px; }
.m-section__head { margin-bottom: 40px; }
.m-section__head h2 { font-size: 34px; margin-bottom: 10px; }
.m-section__head p { font-size: 17px; color: var(--muted); max-width: 700px; }

.m-band { background: var(--accent); color: #fff; }
.m-band h2, .m-band h3 { color: #fff; }
.m-band .m-label { color: var(--accent-light); margin-bottom: 12px; }
.m-band h3 { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.m-band p:not([class]) { color: var(--accent-pale); font-size: 16px; line-height: 1.65; }
.m-band .m-section__head p { color: var(--accent-pale); font-size: 17px; }

.m-cta { background: var(--ink); }
.m-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.m-cta h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.m-cta p { color: #B9BEC3; font-size: 17px; max-width: 560px; }

.m-chip { display: inline-block; font-size: 14px; color: var(--body); background: var(--chip); padding: 7px 14px; border-radius: 2px; }
.m-chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- Fußbereich ---------------------------------------------------------- */

.m-footer { border-top: 1px solid var(--line); }
.m-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.m-footer, .m-footer :where(a) { font-size: 14px; color: var(--muted); }
.m-footer ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }

/* ---- Formular ------------------------------------------------------------ */

.m-form { display: flex; flex-direction: column; gap: 22px; }
.m-field { display: flex; flex-direction: column; gap: 8px; }
.m-field label { font-size: 15px; font-weight: 500; color: var(--ink); }
.m-field input, .m-field textarea {
	font-family: var(--sans); font-size: 16px; padding: 14px 16px;
	border: 1px solid var(--line-strong); border-radius: 2px;
	background: var(--surface); color: var(--ink); width: 100%;
}
.m-field textarea { resize: vertical; min-height: 170px; }
.m-consent { display: flex; gap: 12px; align-items: flex-start; }
.m-consent input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; }
.m-consent label { font-size: 15px; line-height: 1.55; color: var(--body); }

/* ---- Inhaltsseiten (Impressum, Datenschutz) ------------------------------ */

.m-prose { max-width: 760px; }
.m-prose h2 { font-size: 28px; margin: 44px 0 14px; }
.m-prose h3 { font-size: 21px; margin: 32px 0 10px; }
.m-prose h2, .m-prose h3 { overflow-wrap: break-word; hyphens: auto; }
.m-prose h4 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin: 24px 0 8px; color: var(--ink); letter-spacing: 0; }
.m-prose p, .m-prose li { font-size: 17px; line-height: 1.7; color: var(--body); }
.m-prose p, .m-prose ul, .m-prose ol { margin: 0 0 18px; }
.m-prose ul, .m-prose ol { padding-left: 22px; }

/* ===========================================================================
   Schmale Ansichten
   =========================================================================== */

@media (max-width: 1100px) {
	:root { --pad: 40px; }
	.m-section__head h2, .m-cta h2 { font-size: 30px; }
}

@media (max-width: 860px) {
	:root { --pad: 20px; }
	body.marinos { font-size: 16px; }
	.m-burger { display: flex; }
	.m-nav { display: none; }
	.m-nav.is-open {
		display: flex; flex-direction: column; align-items: stretch; gap: 0;
		position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
		background: var(--ground); border-bottom: 1px solid var(--line);
		padding: 8px var(--pad) 24px;
	}
	.m-nav.is-open ul { flex-direction: column; align-items: stretch; gap: 0; }
	.m-nav.is-open li { border-top: 1px solid var(--line); }
	.m-nav.is-open a { display: block; padding: 16px 0; font-size: 17px; }
	.m-nav.is-open .m-lang { border-left: 0; padding: 16px 0 0; white-space: nowrap; }
	.m-brand { gap: 9px; }
	.m-brand__mark { height: 22px; width: 24px; }
	.m-brand__name { font-size: 15px; }
	.m-nav.is-open .m-btn { margin-top: 16px; text-align: center; }
	.m-header__inner { position: relative; }
	.m-grid--2, .m-grid--3 { grid-template-columns: 1fr; }
	.m-section { padding-top: 48px; padding-bottom: 48px; }
	.m-section--tight { padding-bottom: 48px; }
	.m-cta__inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
	.m-footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
	.m-lead { font-size: 18px; }
	.m-body { font-size: 17px; }
}

/* ---- Startseite ---------------------------------------------------------- */

.m-hero { display: flex; gap: 60px; align-items: flex-start; padding-top: 88px; padding-bottom: 72px; }
.m-hero__text { flex: 1 1 auto; min-width: 0; }
.m-hero__text h1 { font-size: 58px; line-height: 1.09; letter-spacing: -0.02em; margin: 30px 0 28px; }
.m-hero__text .m-lead { margin-bottom: 22px; }
.m-hero__meta { font-size: 17px; line-height: 1.6; color: var(--muted); margin-bottom: 34px; }
.m-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.m-hero__aside { width: 360px; flex: 0 0 360px; }
.m-portrait { width: 100%; height: 460px; object-fit: cover; object-position: center top; border-radius: 3px; display: block; }

/* Untereinander statt nebeneinander: sobald ein Wert länger wird — etwa eine
   Verfügbarkeit mit Zeitraum und Umfang — quetscht die Zeile den kurzen
   Nachbarn auf wenige Zeichen und bricht ihn unnötig um. */
.m-facts { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--line); margin: 22px 0 0; padding-top: 18px; }
.m-facts dt { margin-bottom: 6px; }
.m-facts dd { margin: 0; font-size: 16px; color: var(--ink); }

.m-card__kicker { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sienna); }
.m-card__role { font-size: 15px; line-height: 1.55; color: var(--muted); }
.m-card__role strong { color: var(--body); font-weight: 600; }

.m-current {
	margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px;
	display: flex; gap: 40px; align-items: baseline;
}
.m-current > .m-card__kicker { width: 120px; flex-shrink: 0; margin: 0; }
.m-current > p { font-size: 17px; line-height: 1.6; color: var(--body); }

.m-grid--wide { gap: 56px; }

/* Sichtbarer Platzhalter für Angaben, die noch fehlen — nie stillschweigend leer. */
.m-todo {
	background: #FBEFE9; color: #8A3D1F; border: 1px dashed #D9A88F;
	border-radius: 2px; padding: 1px 8px; font-size: 0.92em; white-space: nowrap;
}

/* ---- Unterseiten --------------------------------------------------------- */

.m-page__head { padding-top: 76px; padding-bottom: 52px; }
.m-page__head h1 { font-size: 52px; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 22px; }
.m-page__head--ruled { border-bottom: 1px solid var(--line); }

.m-service { display: flex; gap: 64px; padding: 44px 0; border-bottom: 1px solid var(--line); }
.m-service:last-child { border-bottom: 0; }
.m-service__num { width: 170px; flex: 0 0 170px; font-family: var(--serif); font-size: 42px; font-weight: 600; color: var(--ziffer); line-height: 1; }
.m-service__body { flex: 1 1 auto; min-width: 0; }
.m-service h2 { font-size: 29px; margin-bottom: 16px; }
.m-service .m-body { margin-bottom: 20px; max-width: 780px; }

.m-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 3px; padding: 40px 44px; display: flex; gap: 60px; }
.m-panel__main { flex: 1 1 auto; min-width: 0; }
.m-panel__main h2 { font-size: 24px; margin-bottom: 14px; }
.m-panel__main p { font-size: 16px; line-height: 1.65; color: var(--body); }
.m-panel__aside { width: 320px; flex: 0 0 320px; border-left: 1px solid var(--line); padding-left: 40px; }
.m-panel__aside h3 { font-family: var(--sans); font-size: 15px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 500; }
.m-panel__aside p { font-size: 16px; line-height: 1.6; color: var(--body); }

.m-split { display: flex; gap: 68px; align-items: flex-start; }
.m-split__main { flex: 1 1 auto; min-width: 0; }
.m-split__aside { width: 340px; flex: 0 0 340px; }
.m-split__main p + p { margin-top: 20px; }

.m-timeline__row { display: flex; gap: 44px; padding: 22px 0; border-top: 1px solid var(--line); }
.m-timeline__row:last-child { border-bottom: 1px solid var(--line); }
.m-timeline__when { width: 150px; flex: 0 0 150px; font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; }
.m-timeline__what { flex: 1 1 auto; min-width: 0; }
.m-timeline__what strong { display: block; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.m-timeline__what span { font-size: 16px; line-height: 1.6; color: var(--body); }
.m-tech { margin: 0; }
.m-tech__row { display: flex; gap: 44px; padding: 20px 0; border-top: 1px solid var(--line); }
.m-tech__row:last-child { border-bottom: 1px solid var(--line); }
.m-tech__group { width: 220px; flex: 0 0 220px; padding-top: 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.m-tech .m-chips { flex: 1 1 auto; min-width: 0; margin: 0; }

.m-contact { display: flex; gap: 72px; align-items: flex-start; }
.m-contact__form { flex: 1 1 auto; min-width: 0; }
.m-contact__aside { width: 360px; flex: 0 0 360px; }
.m-contact__box { background: var(--surface); border: 1px solid var(--line); border-radius: 3px; padding: 32px; }
.m-contact__box h2 { font-size: 21px; margin-bottom: 20px; }
.m-contact__box dl { margin: 0; }
.m-contact__box dt { margin-bottom: 6px; }
.m-contact__box dd { margin: 0 0 20px; font-size: 17px; color: var(--ink); }
.m-contact__box dd:last-child { margin-bottom: 0; }
.m-contact__note { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.m-hint { border: 1px solid var(--line); border-radius: 3px; padding: 28px 32px; margin-top: 24px; }
.m-hint h3 { font-family: var(--sans); font-size: 15px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 12px; }
.m-hint ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.7; color: var(--body); }

@media (max-width: 860px) {
	.m-hero { flex-direction: column; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
	.m-hero__text h1 { font-size: 34px; margin: 22px 0 18px; }
	.m-hero__aside { width: 100%; flex: 1 1 auto; }
	/* Feste Höhe bei voller Breite schnitt das Hochformat auf dem iPad im
	   Hochformat (744–834 px) zu einem Streifen quer übers Gesicht. */
	.m-portrait { max-width: 360px; height: auto; aspect-ratio: 4 / 5; object-position: center 20%; }
	.m-hero__actions { flex-direction: column; align-items: stretch; }
	.m-hero__actions .m-btn { text-align: center; }
	.m-page__head { padding-top: 40px; padding-bottom: 32px; }
	.m-page__head h1 { font-size: 34px; }
	.m-service { flex-direction: column; gap: 12px; }
	.m-service__num { width: auto; flex: none; font-size: 28px; }
	.m-service h2 { font-size: 24px; }
	.m-panel, .m-split, .m-contact { flex-direction: column; gap: 32px; }
	.m-panel { padding: 28px; }
	.m-panel__aside, .m-split__aside, .m-contact__aside { width: 100%; flex: 1 1 auto; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
	.m-timeline__row { flex-direction: column; gap: 6px; }
	.m-timeline__when { width: auto; flex: none; }
	.m-tech__row { flex-direction: column; gap: 10px; }
	.m-tech__group { width: auto; flex: none; padding-top: 0; }
	.m-current { flex-direction: column; gap: 10px; }
	.m-current > .m-card__kicker { width: auto; }
	.m-grid--wide { gap: 32px; }
	.m-facts { flex-direction: column; gap: 18px; }
	.m-todo { white-space: normal; }
}

/* ---- Formular: Zustände ---------------------------------------------------
   Rot #9B2C1F erreicht 6,9:1 auf dem Papierton — deutlich über der Anforderung
   von 4,5:1. Fehlermeldungen dürfen nicht die schwächste Schrift der Seite sein.
   -------------------------------------------------------------------------- */

.m-row { display: flex; gap: 22px; flex-wrap: wrap; }
.m-row > .m-field { flex: 1 1 220px; }

.m-req { font-weight: 400; color: var(--muted); font-size: 13px; }

.m-error { display: block; font-size: 15px; color: #9B2C1F; margin-top: 2px; }
.m-form :where(input, textarea)[aria-invalid="true"] { border-color: #9B2C1F; border-width: 2px; }

.m-note--ok,
.m-note--fehler { border-radius: 3px; padding: 28px 32px; margin-bottom: 28px; }
.m-note--ok h2,
.m-note--fehler h2 { font-size: 22px; margin-bottom: 10px; }
.m-note--ok p,
.m-note--fehler p { font-size: 16px; line-height: 1.65; color: var(--body); }
.m-note--ok { background: var(--surface); border: 1px solid var(--accent); }
.m-note--ok h2 { color: var(--accent); }
.m-note--fehler { background: #FCF0EC; border: 1px solid #D9A88F; }
.m-note--fehler h2 { color: #8A3D1F; }
.m-note--fehler ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.8; }
.m-note--fehler a { color: #8A3D1F; text-decoration: underline; }
.m-note--fehler a:hover { color: #6E3018; }
[data-focus]:focus { outline: none; }

/* Honigtopf. Nicht display:none — das überspringen viele Bots gezielt. Das Feld
   steht im Quelltext wie ein echtes, ist aber aus dem Sichtfeld geschoben, aus
   der Tabulatorfolge genommen und für Screenreader ausgeblendet. */
.m-hp {
	position: absolute !important; left: -9999px !important; top: auto !important;
	width: 1px !important; height: 1px !important; overflow: hidden !important;
}

/* ---- Aus der Praxis: eine Reihe je Schwerpunkt --------------------------- */

.m-praxis + .m-praxis { margin-top: 44px; }
.m-praxis__gruppe {
	font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.09em;
	text-transform: uppercase; color: var(--muted);
	padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.m-card__title { font-family: var(--serif); font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; margin: 0; color: var(--ink); }

/* ---- Karten, die selbst Links sind --------------------------------------- */

.m-card--link,
.m-card--ziel { text-decoration: none; transition: border-color .15s ease; }
.m-card--link:hover, .m-card--link:focus,
.m-card--ziel:hover, .m-card--ziel:focus { border-color: var(--accent); text-decoration: none; }

.m-card--link { background: transparent; border-color: var(--line-strong); flex-direction: row; align-items: center; justify-content: space-between; }
.m-card--link__text { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--accent); }
.m-card--link__arrow { font-size: 24px; color: var(--accent); }

.m-card--ziel__titel { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--accent); }
.m-card--ziel__text { font-size: 16px; line-height: 1.6; color: var(--body); }
