/* ============================================================
   Anika Pahl-Hußmann · Onepager
   Stylesheet
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --c-ink:        #262626;
  --c-cream:      #F4F3EE;
  --c-white:      #FFFFFF;
  --c-blue:       #5271FF;
  --c-navy:       #132178;
  --c-pink:       #FA87A0;
  --c-yellow:     #FFFF00;
  --c-olive:      #BBBB4F;
  --c-line:       rgba(95, 95, 80, 0.18);
  --c-line-soft:  rgba(95, 95, 80, 0.12);
  --pad-x:        clamp(20px, 5vw, 40px);
  --maxw:         1160px;
  --font:         'Open Sans', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }

/* ---------- Panel reveal animation ---------- */
.panel[data-om-label] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.panel[data-om-label].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--c-blue); color: #fff; }

img { max-width: 100%; display: block; }

@keyframes apx-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Helpers ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.eyebrow {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-navy);
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--c-yellow); }

.section-title {
  font-family: var(--font);
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.04;
  font-weight: 300;
  letter-spacing: -0.005em;
  margin: 0 0 clamp(40px, 5vw, 60px);
  color: var(--c-ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 40px;
  border: 2px solid transparent;
  text-transform: uppercase;
  color: #fff;
  transition: background .15s, border-color .15s, color .15s;
}
.btn--blue { background: var(--c-blue); }
.btn--pink { background: var(--c-pink); }
.btn:hover,
.btn:focus-visible {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .brand-logo {
    max-width: 90px;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  text-decoration: none;
  color: var(--c-yellow);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: text-decoration .15s;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--c-yellow);
  border-radius: 5px;
  width: 44px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--c-yellow);
  display: block;
}

.mobile-menu {
  display: none;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 12px 28px rgba(38, 38, 38, 0.12);
}
.mobile-menu.open { display: block; }
.mobile-menu .container {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 16px;
}
.mobile-menu a {
  text-decoration: none;
  color: var(--c-ink);
  font-size: 16px;
  font-weight: 700;
  padding: 13px 4px;
  border-bottom: 1px solid var(--c-line-soft);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.mobile-menu a span:first-child {
  color: var(--c-blue);
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: var(--c-ink);
  color: var(--c-cream);
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 9vw, 108px) var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
.hero-text { flex: 1 1 440px; min-width: 300px; }
.hero-title {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  color: #fff;
}
.hero-subtitle {
  font-size: clamp(17px, 2.1vw, 21px);
  font-weight: 700;
  color: var(--c-yellow);
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}
.hero-lead {
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.45;
  font-weight: 400;
  color: #fff;
  max-width: 36ch;
  margin: 0 0 40px;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.hero-photo { flex: 0 1 360px; min-width: 240px; }
.photo-placeholder {
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-placeholder small {
  font-size: 10.5px;
  color: rgba(244, 243, 238, 0.38);
}

/* ============================================================
   Section bands + white panel
   ============================================================ */
.band {
  padding: clamp(72px, 9vw, 120px) var(--pad-x);
}
.band--cream  { background: var(--c-cream); }
.band--navy   { background: var(--c-navy); }
.band--yellow { background: var(--c-olive); }
.band--blue   { background: var(--c-blue); }
.band--pink   { background: var(--c-pink); }

.panel {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 9vw, 72px) clamp(24px, 5vw, 56px);
  background: var(--c-white);
  border-radius: 20px;
}

.marquee-logo {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;

  /* Logos standardmäßig ausblenden / grau darstellen */
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.marquee-item:hover .marquee-logo {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* ============================================================
   Geschichte
   ============================================================ */
.story-cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 80px);
}
.story-text { flex: 1 1 460px; min-width: 300px; }
.story-text p {
  font-size: 18px;
  line-height: 1.78;
  color: var(--c-ink);
  margin: 0 0 22px;
}
.story-text p:last-child { margin-bottom: 0; }
.story-aside {
  flex: 1 1 280px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-bar {
  width: 46px;
  height: 3px;
  background: var(--c-blue);
  margin-bottom: 26px;
}
.story-quote {
  margin: 0;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.3;
  color: var(--c-ink);
}

/* ============================================================
   Logo carousel
   ============================================================ */
.marquee {
  border-top: 1px solid rgba(244, 243, 238, 0.1);
  overflow: hidden;
}
.marquee-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px) 0;
}
.marquee-eyebrow {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #262626;
  text-align: center;
  margin-bottom: clamp(26px, 3vw, 36px);
  padding: 0 var(--pad-x);
}
.marquee-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(42px, 6vw, 78px);
  padding-left: clamp(42px, 6vw, 78px);
  animation: apx-marquee 34s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(244, 243, 238, 0.62);
  white-space: nowrap;
  flex: none;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ============================================================
   Kompetenzen
   ============================================================ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(28px, 3vw, 40px);
}
.skill-col h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--c-ink);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(95, 95, 80, 0.22);
}
.skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.skill-list li {
  font-size: 16px;
  line-height: 1.45;
  color: var(--c-ink);
  display: flex;
  gap: 11px;
}
.skill-list li::before {
  content: "—";
  color: var(--c-blue);
  font-weight: 700;
  flex: none;
}
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tool-tag {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
  background: rgba(82, 113, 255, 0.10);
  padding: 7px 13px;
  border-radius: 4px;
}
.tool-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-olive);
  margin: 22px 0 0;
}

/* ============================================================
   Werdegang
   ============================================================ */
.panel-lead {
  font-size: 16px;
  color: var(--c-olive);
  margin: 0 0 clamp(38px, 5vw, 54px);
  max-width: 52ch;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}
.timeline-item { padding: 0 22px 4px 0; }
.timeline-dotrow {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 18px;
}
.timeline-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--c-blue);
  flex: none;
}
.timeline-line {
  height: 1px;
  background: rgba(95, 95, 80, 0.28);
  flex: 1;
}
.timeline-period {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--c-blue);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.timeline-role {
  font-size: 17px;
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1.25;
  margin-bottom: 3px;
}
.timeline-company {
  font-size: 15px;
  color: var(--c-black);
  margin-bottom: 14px;
}
.timeline-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--c-blue);
  font-weight: 700;
  font-size: 13.5px;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}
.timeline-toggle:hover { color: var(--c-pink); }
.timeline-details {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 11px;
}
.timeline-details.open { display: flex; }
.timeline-details li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--c-ink);
  display: flex;
  gap: 9px;
}
.timeline-details li::before {
  content: "·";
  color: var(--c-pink);
  font-weight: 700;
  flex: none;
}

/* ============================================================
   Weiterbildungen
   ============================================================ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 3vw, 34px);
}
.edu-card {
  background: var(--c-cream);
  border-radius: 6px;
  padding: clamp(28px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.edu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.edu-head h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--c-ink);
  margin: 0;
  line-height: 1.2;
}
.edu-head h3 span {
  font-size: 15px;
  font-weight: 500;
  color: var(--c-olive);
}
.badge {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.badge--done    { color: #fff; background: var(--c-blue); }
.badge--ongoing { color: var(--c-ink); background: var(--c-pink); }
.badge--ongoing .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-ink);
  display: block;
}
.edu-meta {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-olive);
}
.edu-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  margin: 0;
}
.edu-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(95, 95, 80, 0.18);
  font-size: 14px;
  color: var(--c-olive);
}
.edu-foot strong { color: var(--c-ink); font-weight: 700; }

/* ============================================================
   Projekte
   ============================================================ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 32px);
}
.project-card {
  background: var(--c-cream);
  border-radius: 6px;
  padding: clamp(26px, 2.6vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.project-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--c-ink);
  margin: 0 0 4px;
}
.project-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-blue);
}
.case-blocks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.case-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--c-ink);
  margin: 0;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
}
.tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c-ink);
  background: rgba(250, 135, 160, 0.18);
  padding: 5px 11px;
  border-radius: 4px;
}

/* ============================================================
   Kontakt
   ============================================================ */
.contact {
  background: var(--c-ink);
  color: var(--c-cream);
}
.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 140px) var(--pad-x);
}
.contact-title {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--c-cream);
}
.contact-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.5;
  color: #fff;
  max-width: 46ch;
  margin: 0 0 40px;
}
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(40px, 6vw, 56px);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-cream);
  background: rgba(255, 255, 0, 0.14);
  border: 1px solid rgba(255, 255, 0, 0.5);
  padding: 8px 14px;
  border-radius: 100px;
}
.avail-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-yellow);
  display: block;
}
.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: clamp(48px, 7vw, 72px);
}


.icon-social {
  align-self: center;
  width: 30px;
  height: 30px;
}


.icon-social:hover {
  opacity: 0.6 ;
}


.contact-foot {
  border-top: 1px solid rgba(244, 243, 238, 0.16);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
}
.contact-foot span { font-size: 14px; color: #fff; }
.contact-foot a {
  text-decoration: none;
  color: rgba(244, 243, 238, 0.8);
  font-size: 14px;
  font-weight: 700;
  transition: color .15s;
}
.contact-foot a:hover { color: var(--c-pink); }

.contact-foot-line1,
.contact-foot-line2 {
  display: block;   /* Jede Zeile untereinander */
}

.contact-foot-line1 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-foot-line2 {
  font-size: 0.6rem;
  font-weight: 400;
  font-style: italic;
  margin-top: 4px;
}

    
/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  html { scroll-padding-top: 84px; }
  .header-inner { height: 72px; }
  .brand-name { font-size: 17px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
}
