/* ============================================================
   Dominik Partyka – Portfolio
   Design-System: dunkles Bento-Layout
   Farben: #171717 (Hintergrund), #1C1C1C (Karten), #313131 (Rahmen)
   Fonts: Inter (Basis), Poppins (Navigation, Buttons, Fließtext)
   ============================================================ */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/poppins-700.woff2') format('woff2'); }

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #171717;
  --card: #1C1C1C;
  --card-border: #313131;
  --pill-bg: #202020;
  --btn-bg: #1E1E1E;
  --btn-bg-hover: #232323;
  --btn-bg-active: #1A1A1A;
  --btn-border: #2A2A2A;
  --ring: #3A3A3A;
  --text: #ffffff;
  --text-2: #858585;
  --text-3: #6F6F6F;
  --text-accent: #808080;
  --muted: #555555;
  --muted-2: #444444;
  --divider: rgba(255, 255, 255, 0.05);
  --radius: 10px;
  --font-base: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-poppins: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  padding: 12px 20px 0;
  margin: 0 auto;
}
@media (min-width: 640px)  { body { max-width: 36rem; } }
@media (min-width: 768px)  { body { max-width: 48rem; } }
@media (min-width: 1024px) { body { max-width: 64rem; } }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: #3a3a3a; color: #fff; }

/* ---------- Navigation ---------- */
.nav { display: flex; flex-direction: column; position: relative; font-family: var(--font-poppins); margin-bottom: 20px; }
@media (min-width: 640px) { .nav { margin-bottom: 48px; } }
.nav-bar { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 0; background: var(--bg); }
@media (min-width: 640px) { .nav-bar { padding: 20px 0; } }
.nav-left { display: flex; align-items: center; gap: 28px; }
.nav-logo img { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--card-border); background: #fff; }
.nav-links { display: none; gap: 28px; }
@media (min-width: 640px) { .nav-links { display: flex; } }
.nav-links li a, .nav-mobile li a { color: var(--text-3); transition: color .3s; cursor: pointer; }
.nav-links li a:hover, .nav-mobile li a:hover { color: var(--text); }
.nav-links li a.active, .nav-mobile li a.active { color: var(--text); }
.nav-right { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.nav-lang { font-size: 14px; }
.nav-burger { color: var(--text); font-size: 22px; cursor: pointer; line-height: 1; display: inline-flex; }
@media (min-width: 640px) { .nav-burger { display: none; } }

/* Mobiles Menü (aufklappbar) */
.nav-mobile-wrap { width: 100%; overflow: hidden; transition: max-height .3s ease, opacity .3s ease; z-index: 50; max-height: 0; opacity: 0; }
.nav-mobile-wrap.open { max-height: 320px; opacity: 1; }
@media (min-width: 640px) { .nav-mobile-wrap { display: none; } }
.nav-mobile { display: flex; flex-direction: column; background: var(--bg); padding: 24px 0; width: 100%; justify-content: center; align-items: center; gap: 28px; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hero { gap: 16px; } }
.pill {
  background: var(--pill-bg); width: fit-content; border: 1px solid var(--card-border);
  border-radius: 9999px; padding: 6px 16px; font-size: 12px; color: var(--text-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.hero h1 { font-size: 30px; font-weight: 600; line-height: 1.2; }
@media (min-width: 640px) { .hero h1 { font-size: 36px; } }
@media (min-width: 768px) { .hero h1 { font-size: 48px; } }
.hero h1 .accent { color: var(--text-accent); }
/* Beide Zeilen liegen in einem einzigen <h1> (SEO), sehen aber aus wie zwei */
.hero h1 .hero-line { display: block; }
.hero h1 .hero-line + .hero-line { margin-top: 12px; }
@media (min-width: 640px) { .hero h1 .hero-line + .hero-line { margin-top: 16px; } }

/* Namens-Hover: „Dominik," ↔ „Domino," */
.name-swap { position: relative; display: inline-block; white-space: nowrap; }
.name-swap .name-a { transition: opacity .2s; }
.name-swap .name-b { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .2s; }
.name-swap:hover .name-a { opacity: 0; }
.name-swap:hover .name-b { opacity: 1; }

.hero-desc { color: var(--text-2); font-family: var(--font-poppins); max-width: 740px; line-height: 30px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-poppins); font-weight: 500; border-radius: var(--radius);
  border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--text);
  height: 36px; padding: 0 16px; font-size: 14px; width: fit-content;
  transition: background-color .15s; cursor: pointer;
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:active { background: var(--btn-bg-active); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--ring); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn i { font-size: 16px; line-height: 1; }
.btn .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Marquee (Tech-Stack) ---------- */
.marquee-outer { position: relative; display: flex; overflow: hidden; }
.marquee-fade { position: absolute; top: 0; height: 100%; width: 80px; z-index: 10; pointer-events: none; }
.marquee-fade.left { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.marquee-fade.right { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.marquee { display: flex; margin: 20px 0; width: 100%; overflow: hidden; }
.marquee-track { display: flex; flex-shrink: 0; animation: marquee-scroll 36s linear infinite; }
.marquee-outer:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-list { display: flex; flex-shrink: 0; align-items: center; padding: 0; }
.marquee-item { display: flex; align-items: center; gap: 10px; margin-right: 64px; flex-shrink: 0; height: 45px; }
.marquee-item img { height: 22px; width: 22px; filter: invert(1); opacity: .85; }
.marquee-item span { font-family: var(--font-poppins); font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .85); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Bento-Grid ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
/* Grid-Items dürfen schmaler werden als ihr Inhalt (z. B. Heatmap auf Mobilgeräten) */
.grid > * { min-width: 0; }
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(5, 1fr); }
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 3; }
  .span-5 { grid-column: span 5; }
}

/* ---------- Karten ---------- */
.card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden; position: relative;
}
.card.min-h { min-height: 327px; }
.card-pad { padding: 32px; }
.card-pad-b4 { padding: 32px 32px 16px; }

/* Kartenkopf: Label links, Link rechts */
.card-head { display: flex; justify-content: space-between; align-items: center; color: var(--text); margin-bottom: 24px; }
.card-label { display: flex; align-items: center; gap: 8px; }
.card-label i { font-size: 14px; }
.card-label span, .card-meta { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.card-meta { color: rgba(255, 255, 255, .3); }
.card-link {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  color: var(--muted); transition: color .3s; display: flex; align-items: center; gap: 4px;
}
.card-link:hover { color: var(--text); }

/* Statistiken */
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; border-top: 1px solid var(--divider); padding-top: 24px; }
.stat { display: flex; flex-direction: column; }
.stat + .stat { border-left: 1px solid var(--divider); padding-left: 32px; }
.stat-num { font-size: 36px; font-weight: 700; color: var(--text); letter-spacing: -0.05em; line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }

.card-spacer { flex: 1; }

/* ---------- GitHub-Heatmap ---------- */
.heatmap-wrap { position: relative; width: 100%; padding: 0 32px 32px; overflow: hidden; }
.heatmap { display: flex; gap: 5px; width: 100%; justify-content: space-between; align-items: flex-start; }
.heatmap-col { display: flex; flex-direction: column; gap: 5px; }
.heatmap-cell {
  width: 11px; height: 11px; border-radius: 1.5px;
  transition: transform .3s, background-color .3s; z-index: 0;
}
.heatmap-cell:hover { transform: scale(1.25); background: #fff !important; z-index: 20; }
@media (min-width: 640px) { .heatmap-cell { width: 13px; height: 13px; } }
@media (min-width: 768px) { .heatmap-cell { width: 14px; height: 14px; } }

/* ---------- Tech-Listen (Karten) ---------- */
.tool-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.tool-col { display: flex; flex-direction: column; gap: 12px; }
.tool-col-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .2); font-weight: 700; margin-bottom: 4px; }
.tool-item { display: flex; align-items: center; gap: 10px; cursor: default; }
.tool-item .tool-icon { width: 16px; height: 16px; flex-shrink: 0; filter: grayscale(1); opacity: .3; transition: filter .3s, opacity .3s; }
.tool-item .tool-icon img { width: 100%; height: 100%; object-fit: contain; }
.tool-item .tool-icon i { font-size: 15px; color: #fff; line-height: 1; }
.tool-item:hover .tool-icon { filter: grayscale(0); opacity: 1; }
.tool-item span { font-size: 11px; font-weight: 500; color: var(--text-2); transition: color .3s; text-transform: uppercase; letter-spacing: -0.025em; }
.tool-item:hover span { color: var(--text); }
/* Dunkle Logos (z. B. Flask, Express) auf dunklem Grund invertieren */
.tool-icon.inv img { filter: invert(1); }

/* ---------- Karten mit großem Titel (Ausbildung / Beruf) ---------- */
.card-body-center { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.card-big-title { font-size: 30px; font-weight: 700; color: var(--text); letter-spacing: -0.05em; line-height: 1.25; }
.card-sub { color: var(--text-2); font-size: 14px; margin-top: 10px; }
.card-bottom { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--divider); padding-top: 24px; }
.card-bottom-label { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--muted-2); }
.card-bottom-value { font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -0.05em; line-height: 1; margin-top: 4px; }
.card-bottom-right { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); text-align: right; }

/* Dekoratives Riesen-Icon (wie Anführungszeichen in der Vorlage) */
.card-deco {
  position: absolute; top: -32px; right: -32px; font-size: 180px;
  color: rgba(255, 255, 255, .02); pointer-events: none; transition: color .7s; line-height: 1;
}
.card:hover .card-deco { color: rgba(255, 255, 255, .04); }

/* ---------- Zitat-Karte ---------- */
.quote-body { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; overflow: hidden; }
.quote-text { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.4; opacity: .9; }
@media (min-width: 640px) { .quote-text { font-size: 24px; } }
.quote-foot { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--divider); display: flex; justify-content: space-between; align-items: center; }
.icon-link-btn { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); transition: color .3s; }
.icon-link-btn:hover { color: var(--text); }

/* ---------- Featured-Projekt ---------- */
.featured-inner { display: flex; flex-direction: column; height: 100%; }
@media (min-width: 768px) { .featured-inner { flex-direction: row; } }
.featured-media { position: relative; height: 256px; overflow: hidden; }
@media (min-width: 768px) { .featured-media { width: 50%; height: auto; min-height: 320px; } }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s; }
.card:hover .featured-media img { transform: scale(1.05); }
.featured-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0, 0, 0, .2), transparent); pointer-events: none; }
.featured-body { padding: 32px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
@media (min-width: 768px) { .featured-body { width: 50%; } }
.featured-body .card-head { margin-bottom: 32px; }
.featured-tag { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 12px; }
.featured-title { font-size: 30px; font-weight: 700; color: var(--text); letter-spacing: -0.05em; line-height: 1.25; margin-bottom: 16px; }
@media (min-width: 640px) { .featured-title { font-size: 36px; } }
.featured-desc { color: var(--text-2); font-size: 14px; line-height: 1.65; max-width: 400px; }
@media (min-width: 640px) { .featured-desc { font-size: 16px; } }
.featured-links { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--divider); display: flex; flex-wrap: wrap; gap: 16px 24px; }
.featured-links a { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text); transition: opacity .3s; }
.featured-links a:hover { opacity: .8; }
.featured-links a i { font-size: 14px; }
.featured-links a.dim { color: var(--muted); transition: color .3s; }
.featured-links a.dim:hover { color: var(--text); opacity: 1; }

/* ---------- Item-Listen (Dienstleistungen etc.) ---------- */
.item-grid { display: grid; grid-template-columns: 1fr; gap: 20px; width: 100%; }
@media (min-width: 768px) { .item-grid { grid-template-columns: 1fr 1fr; } }
.list-item { display: flex; align-items: center; gap: 16px; width: 100%; padding: 8px; border-radius: 6px; transition: background-color .15s; }
a.list-item { cursor: pointer; }
a.list-item:hover, .list-item.hoverable:hover { background: rgba(255, 255, 255, .03); }
.list-item-icon { background: var(--btn-bg); border-radius: 6px; min-width: 43px; height: 43px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.list-item-text { display: flex; flex-direction: column; width: 100%; min-width: 0; }
.list-item-text h3 { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.list-item-text p { font-size: 12px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }

/* Karten-Einleitungstext */
.card-intro { max-width: 600px; font-size: 14px; color: var(--text-2); line-height: 1.65; }
.divider-t { border-top: 1px solid var(--divider); padding-top: 24px; }

/* ---------- Unterseiten: Kopfbereich ---------- */
.page-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
@media (min-width: 640px) { .page-head { gap: 16px; } }
.page-head h1 { font-size: 30px; font-weight: 600; line-height: 1.2; }
@media (min-width: 640px) { .page-head h1 { font-size: 36px; } }
@media (min-width: 768px) { .page-head h1 { font-size: 48px; } }
.page-head h1 .accent { color: var(--text-accent); }
.page-head p { color: var(--text-2); font-family: var(--font-poppins); max-width: 740px; line-height: 30px; }

/* ---------- Über mich ---------- */
.prose-sm { display: flex; flex-direction: column; gap: 16px; }
.prose-sm p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.prose-sm strong { color: var(--text); font-weight: 600; }
.fact-list { display: flex; flex-direction: column; gap: 14px; }
.fact-item { display: flex; align-items: flex-start; gap: 12px; }
.fact-item i { font-size: 15px; color: var(--muted); margin-top: 1px; transition: color .3s; }
.fact-item span { font-size: 13px; color: var(--text-2); transition: color .3s; }
.fact-item:hover i, .fact-item:hover span { color: var(--text); }
.stack-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (min-width: 640px) { .stack-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stack-cols { grid-template-columns: repeat(5, 1fr); } }
.bullet-list { display: flex; flex-direction: column; gap: 10px; }
.bullet-list li { display: flex; gap: 10px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.bullet-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); margin-top: 9px; flex-shrink: 0; }
.exp-role { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 12px; }

/* ---------- Projekte ---------- */
.project-media { position: relative; height: 208px; overflow: hidden; border-bottom: 1px solid var(--card-border); flex-shrink: 0; }
.project-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s; }
.card:hover .project-media img { transform: scale(1.05); }
/* Platzhalter-Kachel für Projekte ohne Screenshot */
.project-tile {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .045), transparent 65%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(255, 255, 255, .025) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(255, 255, 255, .025) 23px 24px),
    var(--btn-bg);
}
.project-tile i { font-size: 44px; color: var(--muted); transition: color .3s, transform .3s; }
.card:hover .project-tile i { color: var(--text-2); transform: scale(1.1); }
.project-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 8px; }
.project-body p { font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.project-links { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--divider); display: flex; gap: 20px; }
.project-links a { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text); transition: opacity .3s; }
.project-links a:hover { opacity: .8; }
.project-links a i { font-size: 13px; }
.project-tag { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }

/* ---------- Kontakt / Formular ---------- */
.form-grid { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.field input, .field textarea {
  background: var(--btn-bg); border: 1px solid var(--btn-border); border-radius: var(--radius);
  color: var(--text); font-family: var(--font-poppins); font-size: 14px;
  padding: 0 16px; height: 44px; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { padding: 12px 16px; height: auto; min-height: 150px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ring); box-shadow: 0 0 0 2px rgba(58, 58, 58, .5); }
.form-note { font-size: 12px; color: var(--muted); line-height: 1.6; }
.form-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; transition: color .3s; }
.form-note a:hover { color: var(--text); }
.form-status { display: none; border-radius: var(--radius); padding: 12px 16px; font-size: 13px; line-height: 1.5; }
.form-status.ok { display: block; background: #1A2B1F; border: 1px solid #2E4D35; color: #8FD6A0; }
.form-status.err { display: block; background: #2B1A1A; border: 1px solid #4D2E2E; color: #D68F8F; }
/* Honeypot: für Menschen unsichtbar */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

.contact-item { display: flex; align-items: center; gap: 16px; padding: 8px; border-radius: 6px; transition: background-color .15s; }
a.contact-item:hover { background: rgba(255, 255, 255, .03); }
.contact-item .list-item-icon { font-size: 17px; }
.contact-item .list-item-text h3 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-item .list-item-text p { font-size: 14px; color: var(--text); }

/* Ladeanimation für den Sende-Button */
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 1s linear infinite; display: inline-flex; }

/* ---------- Rechtstexte ---------- */
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 740px; }
.prose h2 { font-size: 18px; font-weight: 600; margin-top: 16px; letter-spacing: -0.02em; }
.prose h3 { font-size: 15px; font-weight: 600; margin-top: 8px; }
.prose p, .prose li { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.prose .placeholder { color: #d6b45f; }

/* ---------- Footer ---------- */
.footer {
  width: 100%; margin-top: 20px; padding: 24px 0;
  display: flex; flex-direction: column; gap: 8px;
  justify-content: space-between; align-items: center;
  color: var(--text-2); font-size: 14px; border-radius: var(--radius);
}
@media (min-width: 640px) { .footer { flex-direction: row; gap: 0; } }
.footer-links { display: flex; gap: 20px; }
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--text); }

/* ---------- Hilfsklassen ---------- */
.mb-6 { margin-bottom: 24px; }
.text-center { text-align: center; }
