/* mmffm.com – neutrale Firmenseite. Systemschriften (keine externen Anfragen), hell/dunkel nach Gerät. */
:root {
  --bg: #f6f4ef; --surface: #ffffff; --text: #17161a; --muted: #5e5b63; --line: #e3dfd6;
  --accent: #1f3a5f; --accent-soft: #e6ecf3;
  --font: ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121316; --surface: #1a1c20; --text: #ecebe8; --muted: #a3a1a8; --line: #2a2d33; --accent: #9db7d8; --accent-soft: #1f2935; }
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); }
.wrap { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 20px; }

header { padding: 22px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: 0.02em; color: var(--text); text-decoration: none; }
.lang { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 6px 12px; font: 600 12px var(--font); letter-spacing: 0.08em; cursor: pointer; }
.lang:hover { color: var(--text); }

main { flex: 1; }
.hero { padding: 64px 0 48px; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 6vw, 54px); line-height: 1.1; font-weight: 700; max-width: 14em; }
.hero p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 36em; }

.section-title { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 8px 0 14px; }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; text-decoration: none; color: var(--text); transition: border-color 150ms, transform 150ms; }
.card:hover { border-color: var(--accent); transform: translateY(-1px); }
.card h2 { font-size: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card h2 span.arrow { color: var(--accent); font-weight: 400; }
.card p { color: var(--muted); margin-top: 6px; }
.card .url { margin-top: 12px; font-size: 14px; color: var(--accent); font-weight: 600; }
.contact { margin: 48px 0 64px; padding: 22px; border-radius: 16px; background: var(--accent-soft); }
.contact a { font-weight: 600; font-size: 18px; }

/* Rechtstexte */
.legal { padding-top: 40px; padding-bottom: 64px; }
.legal h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 40px); margin-bottom: 8px; }
.legal h2 { font-size: 18px; margin: 32px 0 8px; }
.legal h3 { font-size: 15px; margin: 18px 0 4px; }
.legal p, .legal li { color: var(--text); max-width: 42em; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 20px; margin-top: 6px; }
.legal .meta { color: var(--muted); font-size: 14px; }
.legal address { font-style: normal; }
.legal address + p { margin-top: 10px; }

footer { border-top: 1px solid var(--line); padding: 22px 0 28px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

/* Zweisprachig: Inhalte stehen doppelt im HTML, angezeigt wird die gewählte Sprache */
html[data-lang="de"] .en, html[data-lang="en"] .de { display: none !important; }
