/* =========================================================
   fynnhofmann.com – Apple-inspired Design System
   ========================================================= */

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== DESIGN TOKENS ===== */
:root {
  --white:          #ffffff;
  --text:           #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary:  #a1a1a6;
  --bg-light:       #f5f5f7;
  --bg-dark:        #1d1d1f;
  --border:         #d2d2d7;
  --accent:         #0071e3;
  --accent-hover:   #0077ed;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius:         18px;
  --radius-sm:      10px;
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --transition:     0.3s var(--ease);
}

/* ===== BASE ===== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  letter-spacing: -0.02em;
  line-height: 1.1;
}

strong {
  font-weight: 600;
  color: var(--text);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 112px 0;
}

.section-gray { background: var(--bg-light); }
.section-dark  { background: var(--bg-dark); }

/* ===== TYPOGRAPHY HELPERS ===== */
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 48px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}
.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.10);
  transform: translateY(-1px);
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: border-color 0.2s;
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 980px;
  opacity: 1 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

/* Mobile burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }

.nav-mobile-link {
  font-size: 16px;
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-link:last-child { border-bottom: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  background-color: #1d1d1f;
  background-image: url('images/hero.jpeg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
}

/* Dunkle Überlagerung für Lesbarkeit */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(68px, 13vw, 140px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.93;
  margin-bottom: 28px;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 44px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sekundärer Button im Hero (dunkler Hintergrund) */
.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(1); }
  50%       { opacity: 0.8;  transform: scaleY(0.6); }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

/* Hero entrance */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.9s var(--ease) forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.26s; }
.delay-3 { animation-delay: 0.40s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.visible { transition-delay: 0.12s; }
.reveal-delay-2.visible { transition-delay: 0.24s; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  align-items: start;
}

.about-lead {
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.about-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-info {
  position: sticky;
  top: 72px;
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.info-block:first-child { padding-top: 0; }
.info-block:last-child  { border-bottom: none; }

.info-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-tertiary);
}
.info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

/* =========================================================
   SKILLS (text-based, no icons)
   ========================================================= */
.skills-text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.skills-text-item {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.skills-text-item:nth-child(odd)  { padding-right: 40px; }
.skills-text-item:nth-child(even) { padding-left: 40px; border-left: 1px solid var(--border); }

.skills-text-item h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.skills-text-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.project-card:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
  transform: translateY(-3px);
}

.project-large {
  grid-column: span 2;
}

.project-tag {
  display: inline-block;
  padding: 3px 11px;
  background: rgba(0, 113, 227, 0.07);
  color: var(--accent);
  border-radius: 980px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.project-content h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.project-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.project-emoji {
  font-size: 44px;
  flex-shrink: 0;
  line-height: 1;
}

/* =========================================================
   EXPERIENCE / TIMELINE
   ========================================================= */
.timeline { position: relative; }

.timeline-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 28px;
}

.timeline-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
  flex-shrink: 0;
}

.timeline-line {
  flex: 1;
  width: 2px;
  background: var(--border);
  margin-top: 8px;
  min-height: 40px;
}

.timeline-content {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 32px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-tag {
  display: inline-block;
  padding: 3px 11px;
  background: rgba(0, 113, 227, 0.07);
  color: var(--accent);
  border-radius: 980px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-company {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.timeline-date {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.07);
  padding: 6px 14px;
  border-radius: 980px;
  white-space: nowrap;
  flex-shrink: 0;
}

.timeline-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.timeline-columns h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.timeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.timeline-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.link-arrow {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-arrow:hover { text-decoration: underline; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-rows {
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.contact-row {
  display: grid;
  grid-template-columns: 180px 1fr 24px;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: padding-left 0.25s var(--ease);
}
.contact-row:hover {
  padding-left: 10px;
}
.contact-row:hover .contact-row-arrow {
  color: var(--text);
}

.contact-row-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-row-value {
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-row-arrow {
  font-size: 16px;
  color: var(--text-tertiary);
  transition: color 0.2s;
  justify-self: end;
}

/* =========================================================
   THREEMA QR (kontakt.html)
   ========================================================= */
.threema-qr {
  display: flex;
  align-items: center;
  gap: 48px;
}

.threema-qr-img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  object-fit: cover;
}

.threema-qr-id {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 8px;
}

.threema-qr-hint {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 360px;
}

@media (max-width: 600px) {
  .threema-qr {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-light);
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-left p {
  font-size: 12px;
  color: var(--text-secondary);
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); }

.footer-right {
  text-align: right;
}
.footer-right p {
  font-size: 12px;
  color: var(--text-secondary);
}
.footer-hint { margin-top: 2px; font-size: 11px; }

/* =========================================================
   EASTER EGG
   ========================================================= */
.easter-egg {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.easter-egg.active {
  opacity: 1;
  pointer-events: all;
}

.easter-egg-content {
  background: var(--white);
  border-radius: 24px;
  padding: 52px 48px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  transform: scale(0.88) translateY(16px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.easter-egg.active .easter-egg-content {
  transform: scale(1) translateY(0);
}

.easter-egg-emoji {
  font-size: 64px;
  display: block;
  margin-bottom: 20px;
  animation: none;
}
.easter-egg.active .easter-egg-emoji {
  animation: eggBounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes eggBounce {
  0%   { transform: scale(0) rotate(-15deg); }
  70%  { transform: scale(1.15) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.easter-egg-content h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.easter-egg-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 10px;
}

.easter-egg-code {
  display: block;
  font-family: "SF Mono", "Fira Code", "Fira Mono", monospace;
  background: var(--bg-light);
  color: var(--accent);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin: 16px 0;
  text-align: left;
  word-break: break-all;
}

.easter-egg-hint {
  font-size: 12px !important;
  color: var(--text-tertiary) !important;
  font-style: italic;
  margin-bottom: 0 !important;
}

.easter-egg-close {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 20px;
  font-family: var(--font);
  transition: background 0.2s;
}
.easter-egg-close:hover { background: var(--accent-hover); }

/* =========================================================
   EASTER EGG 2 – Pixel-Männlein
   ========================================================= */
.pixel-man {
  color: #1d1d1f;
  display: block;
  margin: 0 auto 24px;
}

.pixel-wave-arm {
  transform-origin: 34px 20px;
  animation: none;
}
.easter-egg.active .pixel-wave-arm {
  animation: pixelWave 0.55s ease-in-out infinite alternate;
}

@keyframes pixelWave {
  from { transform: rotate(-18deg); }
  to   { transform: rotate(22deg);  }
}

/* Confetti particle */
@keyframes confettiFall {
  0%   { transform: translateY(-10px) rotate(0deg);   opacity: 1; }
  100% { transform: translateY(105vh) rotate(540deg); opacity: 0; }
}

/* =========================================================
   PAGE HERO (sub-pages)
   ========================================================= */
.page-hero {
  background: var(--bg-dark);
  padding: 130px 0 72px;
}

.page-hero-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6e6e73;
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #f5f5f7;
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: #8e8e93;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: gap 0.2s;
}
.back-link:hover { gap: 10px; }

/* =========================================================
   EDITORIAL NAV (index.html)
   ========================================================= */
.editorial-nav {
  border-top: 1px solid var(--border);
}

.editorial-link {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: padding-left 0.25s var(--ease);
}
.editorial-link:hover {
  padding-left: 10px;
}
.editorial-link:hover .editorial-arrow {
  color: var(--text);
}

.editorial-num {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  align-self: start;
  padding-top: 5px;
}

.editorial-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
}

.editorial-meta {
  font-size: 13px;
  color: var(--text-secondary);
  text-align: right;
}

.editorial-arrow {
  font-size: 18px;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

/* Active nav link */
.nav-active {
  opacity: 1 !important;
  font-weight: 600 !important;
}

/* =========================================================
   EXPERIENCE TIMELINE (erfahrung.html)
   ========================================================= */
.exp-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 28px;
}

.exp-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.exp-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
  flex-shrink: 0;
}
.exp-dot-active {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.2);
}

.exp-line {
  flex: 1;
  width: 2px;
  background: var(--border);
  margin-top: 8px;
  min-height: 32px;
}
.exp-line-last { min-height: 0; }

.exp-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 24px;
}

.exp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.exp-org-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--text);
  color: var(--white);
  border-radius: 980px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.exp-org-secondary { background: #3a3a3c; }
.exp-org-tertiary  { background: #636366; }

.exp-date-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(0, 113, 227, 0.07);
  padding: 5px 12px;
  border-radius: 980px;
  white-space: nowrap;
}
.exp-date-done {
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.05);
}

.exp-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.exp-role-tag {
  display: inline-block;
  padding: 3px 11px;
  background: rgba(0, 113, 227, 0.07);
  color: var(--accent);
  border-radius: 980px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.exp-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.exp-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.exp-col-heading {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.exp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exp-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.exp-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.exp-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.exp-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.skill-pill {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
  border-radius: 980px;
  font-size: 12px;
  font-weight: 500;
}

/* =========================================================
   PROJECTS PAGE (projekte.html)
   ========================================================= */
.proj-featured {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 56px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.proj-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.proj-featured-meta .project-tag {
  background: rgba(255,255,255,0.1);
  color: #f5f5f7;
}

.proj-company {
  font-size: 12px;
  font-weight: 500;
  color: #8e8e93;
}

.proj-featured-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f5f5f7;
  margin-bottom: 20px;
}

.proj-featured-desc {
  font-size: 16px;
  color: #8e8e93;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 24px;
}

.proj-featured-icon {
  font-size: 80px;
  flex-shrink: 0;
  line-height: 1;
}

.proj-featured .skill-pill {
  background: rgba(255,255,255,0.08);
  color: #aeaeb2;
}

.proj-list {
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.proj-list-item {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.proj-list-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.proj-list-company {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 4px;
}

.proj-list-item h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.proj-list-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 680px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .section { padding: 80px 0; }

  .nav-links  { display: none; }
  .nav-burger { display: flex; }

  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }

  .skills-grid { grid-template-columns: repeat(2, 1fr); }

  .projects-grid { grid-template-columns: 1fr; }
  .project-large { grid-column: span 1; }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-right { text-align: center; }
  .footer-nav { justify-content: center; }

  .about-info { position: static; }

  .editorial-link { grid-template-columns: 28px 1fr 20px; }
  .contact-row { grid-template-columns: 120px 1fr 20px; }

  .exp-columns { grid-template-columns: 1fr; }

  .proj-featured { padding: 36px; }
  .proj-list-header { flex-direction: column; gap: 8px; }

  .skills-text-grid { grid-template-columns: 1fr; }
  .skills-text-item:nth-child(even) { padding-left: 0; border-left: none; }
}

@media (max-width: 600px) {
  .about-grid { grid-template-columns: 1fr; }

  .exp-item { grid-template-columns: 1fr; }
  .exp-side { display: none; }

  .editorial-link { grid-template-columns: 1fr 20px; gap: 12px; }
  .editorial-num { display: none; }

  .hero-title { font-size: clamp(58px, 18vw, 100px); }
}

/* =========================================================
   QR GENERATOR
   ========================================================= */

.qr-tool {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left column */
.qr-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qr-input {
  width: 100%;
  padding: 15px 18px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-light);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  line-height: 1.5;
}
.qr-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
  background: var(--white);
}
.qr-input::placeholder { color: var(--text-tertiary); }

/* Options card */
.qr-options-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.qr-option-divider {
  height: 1px;
  background: var(--border);
  margin: 18px 0;
}

.qr-option-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qr-option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qr-option-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.qr-option-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* Range slider */
.qr-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.qr-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}
.qr-range::-webkit-slider-thumb:hover { transform: scale(1.1); }
.qr-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Color row */
.qr-color-row {
  display: flex;
  gap: 24px;
}

.qr-color-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.qr-color-item input[type="color"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.qr-color-swatch {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
.qr-color-swatch:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.qr-color-swatch-bordered {
  border: 2px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.qr-color-name {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ECL buttons */
.qr-ecl {
  display: flex;
  gap: 8px;
}

.qr-ecl-btn {
  flex: 1;
  padding: 9px 6px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.qr-ecl-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.qr-ecl-active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

/* Actions */
.qr-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.qr-actions .btn-primary[disabled],
.qr-actions .btn-secondary[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}

/* Privacy note */
.qr-privacy {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* Right column – preview */
.qr-right {
  position: sticky;
  top: 72px;
}

.qr-preview {
  background: var(--bg-light);
  border-radius: var(--radius);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
}

#qrOutput {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  width: 100%;
  height: 100%;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--text-tertiary);
  text-align: center;
  padding: 32px;
}
.qr-placeholder p {
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 860px) {
  .qr-tool {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .qr-right {
    position: static;
    order: -1;
  }
}
