/* wirsindpabst.de – Design „Mitternacht & Orange“. Bewusst ohne externe Schriften, Skripte oder Cookies. */

:root {
  --a1: #5B8DEF;          /* Blau */
  --a2: #FF8A3D;          /* Orange */
  --onA2: #1b1206;
  --r: 22px;
  --bg: #F5F6FA;
  --text: #141B2D;
  --muted: #5A6478;
  --card: #fff;
  --soft: #EEF2FB;
  --line: #E3E7EF;
  --line2: #CDD4E1;
  --night: #0C1428;
  --night-text: #B8C2D6;
  --link: #2F62C9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1120; --text: #E8EDF7; --muted: #9AA6BD; --card: #121A2E; --soft: #1A2440;
    --line: #212C47; --line2: #334063; --link: #8DB0F5;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Kopfzeile – bleibt beim Scrollen stehen */
.top { position: sticky; top: 0; z-index: 10; background: rgba(12, 20, 40, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: #fff; text-decoration: none; }
.brand b { color: var(--a2); }
.logo { width: 34px; height: 34px; flex: none; }
nav a { margin-left: 22px; color: var(--night-text); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--a2); }

section { padding: 88px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--a2); margin-bottom: 10px; }
h1 { font-size: clamp(28px, 7.2vw, 66px); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap; }
h1 span { color: var(--a2); }
h2 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 18px; }
h3 { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--a2); color: var(--onA2); border: 2px solid var(--a2); }
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; color: #fff; border-color: #3A4866; }

/* Startbereich mit angeschnittenem App-Bildschirm */
.hero { position: relative; overflow: hidden; color: #fff; padding: 0;
  background:
    radial-gradient(1200px 500px at 85% 20%, rgba(91,141,239,.35), transparent 60%),
    radial-gradient(800px 400px at 10% 90%, rgba(255,138,61,.22), transparent 60%),
    var(--night); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; }
.hero-text { padding: 110px 0 120px; }
.lead { font-size: 20px; color: var(--night-text); margin: 22px 0 30px; max-width: 34ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.wink { margin-top: 26px; font-size: 13px; color: var(--night-text); font-style: italic; }
.hero-art { position: relative; display: flex; justify-content: center; align-self: stretch; align-items: flex-end; }
.orb { position: absolute; inset: 18% 0 0; border-radius: 50%; opacity: .55; filter: blur(40px);
  background: radial-gradient(circle at 30% 40%, var(--a2), transparent 60%), radial-gradient(circle at 75% 60%, var(--a1), transparent 62%); }
.hero-art img { position: relative; width: 340px; margin-bottom: -170px; /* unterer Teil des Handys wird angeschnitten */
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }

/* Über mich */
.about { background: var(--card); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; }
.about p { color: var(--muted); font-size: 18px; margin-bottom: 14px; }
.likes { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 15px; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; text-align: right; }

/* Projekte */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.project { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; }
.project p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.project .more { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--link); }
.project.soon { border-style: dashed; background: transparent; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--link); background: var(--soft); padding: 5px 10px; border-radius: 999px; margin-bottom: 14px; }
.featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center; padding: 36px; }
.featured .p-text { display: flex; flex-direction: column; }
.featured h3 { font-size: 30px; display: flex; align-items: center; gap: 12px; }
.p-logo { width: 40px; height: 40px; border-radius: 10px; }
.p-img img { width: 220px; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,.18)); }
.mini { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.mini li { font-size: 13px; border: 1px solid var(--line2); border-radius: 6px; padding: 3px 8px; color: var(--muted); }

/* Kontakt mit Formular */
.contact-box { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: start;
  background: var(--night); color: #fff; border-radius: var(--r); padding: 48px; }
.contact-text p { color: var(--night-text); font-size: 18px; margin-bottom: 14px; }
.contact-text .direct a { color: #fff; font-weight: 700; }
.form-card { background: var(--card); color: var(--text); border-radius: 16px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line2); border-radius: 10px; padding: 11px 13px; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--a2); outline-offset: 1px; border-color: transparent; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note { font-size: 13px; color: var(--muted); }
.note a { color: var(--text); }
.contact-form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 14px; font-size: 15px; }
.alert.ok { background: #E7F6EC; color: #1D5C39; }
.alert.error { background: #FDECEA; color: #8A1F17; }

/* Fußzeile */
.foot { padding: 30px 0; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.foot a { color: var(--muted); text-decoration: none; margin-left: 16px; }
.foot a:hover { color: var(--a2); }

/* Impressum & Datenschutz */
.legal-head { background: var(--night); color: #fff; padding: 64px 0 56px; }
.legal-head h1 { font-size: clamp(34px, 6vw, 52px); white-space: normal; }
.legal-head p { color: var(--night-text); margin-top: 10px; max-width: 60ch; }
.legal { padding: 56px 0 80px; }
.legal-card { max-width: 760px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 40px; }
.legal-card h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--a2); margin: 30px 0 8px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li, .legal-card address { color: var(--muted); font-style: normal; }
.legal-card p + p, .legal-card p + ul, .legal-card ul + p { margin-top: 10px; }
.legal-card ul { padding-left: 1.2rem; }
.legal-card a { overflow-wrap: anywhere; }
.back { display: inline-block; margin-top: 30px; font-weight: 700; text-decoration: none; }
.stand { margin-top: 26px; font-size: 14px; }

@media (max-width: 820px) {
  section { padding: 64px 0; }
  .hero-grid, .about-grid, .featured { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 0; }
  .hero-text { padding: 72px 0 40px; }
  .hero-art { height: 300px; }
  .hero-art img { width: 260px; margin-bottom: -250px; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  nav a { margin-left: 14px; font-size: 14px; }
  .contact-box { padding: 28px 20px; grid-template-columns: minmax(0, 1fr); margin: 0 16px; }
  .row2 { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .legal-card { padding: 26px 20px; }
}
@media (max-width: 520px) {
  nav a:not(:last-child) { display: none; }
  .lead { font-size: 18px; }
}

/* Matomo-Widerspruch in der Datenschutzerklärung */
.opt-out { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 4px 16px; margin: 10px 0 4px; font-size: 15px; color: var(--muted); }
