/* ── Farben & Grundwerte ── */
:root {
  --blue: #0f2c4c;
  --blue-dark: #0a1f37;
  --band: #26303d;
  --bar: #1c2a3d;
  --bar-hover: #24364d;
  --peach: #f3c99c;
  --peach-soft: rgba(243, 201, 156, 0.75);
  --white: #f4f1ec;
  --grey: #c4c4c4;
  --muted: #8e9db0;
  --content: 760px;
  /* Leinwand-Struktur als SVG-Noise */
  --texture: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--peach);
  background-color: var(--blue);
  background-image:
    var(--texture),
    repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
strong { font-weight: 600; color: var(--white); }
em { font-style: italic; }

/* ── NAV ── */
#nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background-color: rgba(10, 31, 55, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-top {
  align-self: flex-end;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 2px;
}
.logo-main {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--grey);
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}

.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-toggle { display: none; }

/* ── Seiten-Abschnitte ── */
.page {
  max-width: var(--content);
  margin: 0 auto;
  padding: 40px 24px 70px;
}

/* kleine Bergkette als Trenner über jedem Abschnitt (außer Home) */
.page + .page::before {
  content: "";
  display: block;
  width: 220px;
  height: 44px;
  margin: 0 auto 34px;
  background: var(--ridge) center / contain no-repeat;
  opacity: 0.85;
}

#about { --ridge: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 44'><path d='M20,38 L23,38 L25,37 L28,36 L31,35 L33,34 L36,32 L40,31 L43,30 L46,28 L50,25 L53,24 L56,23 L60,22 L64,22 L68,23 L71,24 L74,26 L77,25 L80,25 L83,26 L87,25 L92,23 L94,22 L98,21 L101,20 L103,19 L107,18 L110,17 L113,16 L116,16 L120,14 L125,15 L130,15 L133,16 L136,17 L139,17 L142,18 L146,19 L149,21 L152,21 L156,22 L161,23 L164,24 L167,23 L170,24 L175,23 L178,24 L181,24 L185,24 L188,26 L191,27 L193,28 L197,30 L202,33 L205,34 L210,36' fill='none' stroke='%23f4f1ec' stroke-opacity='.3' stroke-width='1' stroke-linejoin='round'/><path d='M0,40 L3,38 L6,37 L8,37 L13,36 L15,35 L18,36 L21,35 L23,34 L26,34 L29,34 L31,34 L34,33 L36,33 L38,33 L42,34 L46,31 L48,30 L51,29 L54,27 L57,26 L60,25 L64,25 L68,25 L72,24 L76,25 L78,27 L81,26 L84,28 L87,27 L90,25 L93,26 L95,28 L98,20 L101,16 L104,13 L107,9 L110,7 L113,7 L115,8 L118,9 L120,10 L123,11 L125,14 L128,16 L132,18 L135,18 L138,21 L142,22 L145,25 L150,26 L154,26 L156,26 L160,26 L164,24 L168,24 L171,24 L175,25 L178,25 L181,25 L184,27 L186,30 L190,34 L194,34 L196,35 L199,36 L202,36 L205,37 L207,37 L211,37 L214,38 L217,39 L220,40 L220,44 L0,44 Z' fill='%230f2c4c'/><path d='M0,40 L3,38 L6,37 L8,37 L13,36 L15,35 L18,36 L21,35 L23,34 L26,34 L29,34 L31,34 L34,33 L36,33 L38,33 L42,34 L46,31 L48,30 L51,29 L54,27 L57,26 L60,25 L64,25 L68,25 L72,24 L76,25 L78,27 L81,26 L84,28 L87,27 L90,25 L93,26 L95,28 L98,20 L101,16 L104,13 L107,9 L110,7 L113,7 L115,8 L118,9 L120,10 L123,11 L125,14 L128,16 L132,18 L135,18 L138,21 L142,22 L145,25 L150,26 L154,26 L156,26 L160,26 L164,24 L168,24 L171,24 L175,25 L178,25 L181,25 L184,27 L186,30 L190,34 L194,34 L196,35 L199,36 L202,36 L205,37 L207,37 L211,37 L214,38 L217,39 L220,40' fill='none' stroke='%23f4f1ec' stroke-width='1.3' stroke-linejoin='round'/></svg>"); }
#skills { --ridge: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 44'><path d='M10,38 L13,36 L17,33 L19,33 L21,32 L24,31 L26,30 L29,28 L32,27 L34,26 L38,24 L40,23 L45,22 L48,22 L52,21 L55,20 L58,20 L60,19 L64,18 L66,18 L68,18 L73,17 L75,17 L79,15 L82,16 L85,16 L88,16 L94,16 L96,17 L99,17 L102,18 L105,18 L110,19 L115,19 L118,19 L122,19 L124,20 L127,20 L131,20 L133,20 L137,20 L141,20 L145,20 L148,20 L153,21 L157,21 L161,22 L166,22 L170,22 L173,22 L176,22 L178,23 L181,22 L187,25 L190,26 L195,27 L199,26 L202,27 L205,28 L208,30 L211,31 L215,33 L220,34' fill='none' stroke='%23f4f1ec' stroke-opacity='.3' stroke-width='1' stroke-linejoin='round'/><path d='M0,40 L2,39 L5,38 L8,38 L11,37 L15,35 L18,33 L21,31 L25,31 L27,31 L30,32 L32,30 L36,28 L39,24 L43,21 L47,20 L50,18 L53,14 L56,12 L59,11 L62,10 L65,11 L68,13 L71,15 L74,17 L76,19 L80,20 L83,21 L86,22 L89,23 L91,25 L94,26 L97,26 L100,28 L104,27 L106,26 L109,28 L113,27 L116,27 L120,27 L123,25 L126,22 L129,19 L132,18 L135,13 L138,11 L142,9 L146,8 L148,8 L151,8 L154,10 L157,14 L159,16 L162,16 L166,18 L170,21 L172,22 L176,21 L179,21 L182,22 L186,23 L189,25 L192,28 L195,30 L198,32 L200,34 L202,34 L205,35 L208,38 L210,39 L213,40 L215,39 L220,40 L220,44 L0,44 Z' fill='%230f2c4c'/><path d='M0,40 L2,39 L5,38 L8,38 L11,37 L15,35 L18,33 L21,31 L25,31 L27,31 L30,32 L32,30 L36,28 L39,24 L43,21 L47,20 L50,18 L53,14 L56,12 L59,11 L62,10 L65,11 L68,13 L71,15 L74,17 L76,19 L80,20 L83,21 L86,22 L89,23 L91,25 L94,26 L97,26 L100,28 L104,27 L106,26 L109,28 L113,27 L116,27 L120,27 L123,25 L126,22 L129,19 L132,18 L135,13 L138,11 L142,9 L146,8 L148,8 L151,8 L154,10 L157,14 L159,16 L162,16 L166,18 L170,21 L172,22 L176,21 L179,21 L182,22 L186,23 L189,25 L192,28 L195,30 L198,32 L200,34 L202,34 L205,35 L208,38 L210,39 L213,40 L215,39 L220,40' fill='none' stroke='%23f4f1ec' stroke-width='1.3' stroke-linejoin='round'/></svg>"); }
#projects { --ridge: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 44'><path d='M0,36 L3,34 L6,33 L10,31 L14,29 L18,27 L21,26 L24,25 L26,24 L29,24 L32,23 L36,22 L38,21 L43,20 L47,20 L51,20 L54,20 L56,19 L59,18 L61,18 L66,16 L69,15 L72,15 L75,14 L80,14 L83,14 L85,14 L87,14 L90,14 L94,14 L97,15 L100,15 L102,16 L105,16 L108,17 L111,18 L113,19 L116,20 L120,22 L125,21 L129,21 L133,21 L138,20 L142,20 L145,20 L148,19 L152,19 L156,19 L159,20 L163,20 L168,20 L171,20 L174,20 L177,20 L180,20 L183,20 L187,22 L190,21 L194,22 L197,22 L199,23 L201,24 L205,25 L207,26 L210,27 L212,29 L214,30 L217,31 L220,34' fill='none' stroke='%23f4f1ec' stroke-opacity='.3' stroke-width='1' stroke-linejoin='round'/><path d='M0,40 L3,38 L7,38 L10,37 L12,36 L15,36 L17,35 L20,35 L24,32 L28,32 L33,31 L35,30 L39,27 L43,24 L45,22 L48,22 L51,23 L53,23 L56,22 L60,22 L64,20 L66,19 L69,20 L72,21 L74,22 L76,23 L79,24 L81,24 L85,24 L89,22 L91,23 L95,22 L98,22 L101,20 L104,18 L108,18 L110,18 L113,16 L117,17 L121,18 L123,19 L126,17 L130,17 L133,18 L135,20 L137,17 L140,17 L143,15 L147,13 L150,11 L154,6 L156,5 L159,5 L162,6 L164,9 L167,9 L170,10 L172,13 L175,16 L178,20 L181,22 L184,23 L188,27 L192,29 L195,30 L199,32 L201,33 L204,34 L206,35 L209,37 L213,38 L216,39 L220,40 L220,44 L0,44 Z' fill='%230f2c4c'/><path d='M0,40 L3,38 L7,38 L10,37 L12,36 L15,36 L17,35 L20,35 L24,32 L28,32 L33,31 L35,30 L39,27 L43,24 L45,22 L48,22 L51,23 L53,23 L56,22 L60,22 L64,20 L66,19 L69,20 L72,21 L74,22 L76,23 L79,24 L81,24 L85,24 L89,22 L91,23 L95,22 L98,22 L101,20 L104,18 L108,18 L110,18 L113,16 L117,17 L121,18 L123,19 L126,17 L130,17 L133,18 L135,20 L137,17 L140,17 L143,15 L147,13 L150,11 L154,6 L156,5 L159,5 L162,6 L164,9 L167,9 L170,10 L172,13 L175,16 L178,20 L181,22 L184,23 L188,27 L192,29 L195,30 L199,32 L201,33 L204,34 L206,35 L209,37 L213,38 L216,39 L220,40' fill='none' stroke='%23f4f1ec' stroke-width='1.3' stroke-linejoin='round'/></svg>"); }
#contact { --ridge: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 44'><path d='M30,34 L33,33 L35,31 L38,30 L40,29 L44,28 L47,27 L50,26 L53,25 L57,21 L60,17 L63,15 L65,14 L68,13 L72,11 L75,11 L79,11 L83,12 L86,12 L89,11 L93,13 L97,14 L99,15 L102,17 L105,18 L108,19 L110,20 L113,20 L115,19 L118,18 L120,17 L122,17 L125,17 L128,17 L131,18 L133,18 L136,17 L138,17 L141,18 L144,18 L146,18 L150,18 L154,17 L156,18 L160,19 L163,19 L166,20 L170,20 L173,20 L175,21 L180,21 L184,22 L187,23 L190,25 L195,28 L200,30 L203,31 L205,30 L208,32 L210,32 L213,34 L215,35 L220,36' fill='none' stroke='%23f4f1ec' stroke-opacity='.3' stroke-width='1' stroke-linejoin='round'/><path d='M0,40 L3,38 L5,37 L8,36 L11,35 L14,34 L17,33 L20,31 L24,29 L28,27 L31,23 L34,21 L38,19 L41,16 L44,12 L47,8 L49,8 L52,9 L54,10 L57,10 L59,13 L62,15 L65,17 L67,18 L70,17 L73,17 L75,17 L78,17 L81,18 L85,19 L88,21 L92,22 L95,21 L99,20 L103,21 L105,22 L108,24 L111,26 L114,27 L116,29 L120,30 L123,28 L126,26 L128,25 L131,25 L135,26 L137,25 L140,26 L144,27 L147,27 L150,27 L153,28 L156,27 L159,29 L163,31 L165,32 L169,33 L173,33 L176,33 L180,33 L182,34 L185,35 L188,34 L191,35 L195,36 L198,35 L200,35 L204,35 L207,36 L210,37 L213,38 L215,39 L220,40 L220,44 L0,44 Z' fill='%230f2c4c'/><path d='M0,40 L3,38 L5,37 L8,36 L11,35 L14,34 L17,33 L20,31 L24,29 L28,27 L31,23 L34,21 L38,19 L41,16 L44,12 L47,8 L49,8 L52,9 L54,10 L57,10 L59,13 L62,15 L65,17 L67,18 L70,17 L73,17 L75,17 L78,17 L81,18 L85,19 L88,21 L92,22 L95,21 L99,20 L103,21 L105,22 L108,24 L111,26 L114,27 L116,29 L120,30 L123,28 L126,26 L128,25 L131,25 L135,26 L137,25 L140,26 L144,27 L147,27 L150,27 L153,28 L156,27 L159,29 L163,31 L165,32 L169,33 L173,33 L176,33 L180,33 L182,34 L185,35 L188,34 L191,35 L195,36 L198,35 L200,35 L204,35 L207,36 L210,37 L213,38 L215,39 L220,40' fill='none' stroke='%23f4f1ec' stroke-width='1.3' stroke-linejoin='round'/></svg>"); }

.page-title {
  font-size: clamp(34px, 6vw, 46px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  margin-bottom: 28px;
}

.lead { text-align: center; max-width: 560px; margin: 0 auto 28px; font-size: 13px; }
.lead a strong:hover, .text a strong:hover { color: var(--peach); }

/* ── Dunkle Leiste (wie der Audio-Player) ── */
.bar {
  display: flex;
  align-items: stretch;
  background: var(--bar);
  border-radius: 2px;
  margin-bottom: 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.bar-icon {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.bar-icon svg { width: 18px; height: 18px; fill: var(--white); }
.bar-icon svg.stroke { fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bar-body { flex: 1; padding: 9px 12px; min-width: 0; }
.bar-title { font-size: 13px; font-weight: 500; color: var(--white); }
.bar-sub { font-size: 11px; color: var(--grey); opacity: 0.8; }

.bar-link { transition: background 0.2s, transform 0.2s; }
.bar-link:hover { background: var(--bar-hover); transform: translateY(-1px); }

/* ── Zwei Spalten ── */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.text p { font-size: 13px; margin-bottom: 10px; }
.text p.gap { margin-top: 26px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-block;
  padding: 9px 18px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid var(--white);
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: transparent; color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(244,241,236,0.4); }
.btn-ghost:hover { border-color: var(--white); }

/* Hero: Info-Zeile, Badge, Einleitung */
.info-line {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: -14px 0 18px;
}
.info-line span { color: var(--peach); margin: 0 6px; }

.badge-wrap { text-align: center; margin-bottom: 34px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(243, 201, 156, 0.35);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: var(--white);
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4da8ff;
  box-shadow: 0 0 0 0 rgba(77, 168, 255, 0.7);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%   { opacity: 1; box-shadow: 0 0 0 0 rgba(77, 168, 255, 0.7); }
  50%  { opacity: 0.35; }
  70%  { box-shadow: 0 0 0 7px rgba(77, 168, 255, 0); }
  100% { opacity: 1; box-shadow: 0 0 0 0 rgba(77, 168, 255, 0); }
}

.intro { max-width: 560px; margin: 0 auto; text-align: center; }
.intro .actions { justify-content: center; }

.sub-title {
  margin: 36px 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
}

/* ── Skills ── */
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.skill .bar-icon { font-size: 11px; }
.meter { height: 2px; background: rgba(255,255,255,0.1); margin-top: 8px; }
.meter-fill { height: 100%; width: 0; background: var(--peach); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }

/* ── Projekte ── */
.project .bar-icon svg { width: 14px; height: 14px; }
.project-arrow { align-self: center; padding: 0 14px; color: var(--muted); transition: color 0.2s; }
.project:hover .project-arrow { color: var(--white); }

/* ── Kontakt ── */
#contact { padding-bottom: 44px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

/* ── FOOTER ── */
footer {
  margin-top: 0;
  border-top: 16px solid var(--band);
  background-color: var(--blue-dark);
  background-image: var(--texture);
  padding: 30px 0 0;
  text-align: center;
}
.mountains {
  display: block;
  width: 100%;
  height: clamp(44px, 6vw, 90px);
  margin-top: 10px;
}
.mountains path {
  fill: none;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.ridge-back { stroke: rgba(244, 241, 236, 0.28); stroke-width: 1; }
.mountains .ridge-fill { fill: var(--blue-dark); stroke: none; }
.ridge-front { stroke: var(--white); stroke-width: 1.5; }
.socials { display: flex; justify-content: center; gap: 8px; margin-bottom: 16px; }
.socials a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.socials a:hover { transform: scale(1.1); }
.socials svg { width: 14px; height: 14px; fill: #111; }
.footer-note {
  display: inline-block;
  font-size: 11px;
  color: var(--white);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-copy {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

/* ── Reveal-Animation ── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .badge-dot { animation: none; }
}

/* ── Mobil ── */
@media (max-width: 760px) {
  #nav { padding: 14px 16px; }
  .logo-main { font-size: 22px; }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--blue-dark);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; font-size: 12px; }

  .page { padding: 28px 16px 50px; }
  .cols, .skills, .contact { grid-template-columns: 1fr; gap: 0; }
  .cols { gap: 28px; }
}
