/* ================================================================
   style.css – Meike Höpfner Landingpage
   Palette: Navy #1a3558 · Blue #2d6a9f · Accent #3d85c8 · Ice #e8f1f8
   Fonts: Cormorant Garamond (headings) · Raleway (UI) · Source Sans 3 (body)
   ================================================================ */

/* ─── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --navy:    #1a3558;
  --navyD:   #0e1f35;
  --blue:    #2d6a9f;
  --accent:  #3d85c8;
  --accentL: #6eb3e8;
  --ice:     #e8f1f8;
  --iceD:    #c8dded;
  --text:    #253545;
  --textM:   #4d6275;
  --textL:   #7a8f9e;
  --border:  #d8e6f0;
  --gray:    #f3f6f9;
  --white:   #fff;
  --navH:    66px;
  --radius:  10px;
  --shadow-sm: 0 2px 18px rgba(26,53,88,.08);
  --shadow-md: 0 8px 40px rgba(26,53,88,.14);
  --shadow-lg: 0 16px 60px rgba(26,53,88,.18);
}

/* ─── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── NAVIGATION ────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--navH);
  display: flex; align-items: center; gap: 1rem;
  padding: 0 2.5rem;
  transition: background .3s, box-shadow .3s;
}
#nav.scrolled {
  background: rgba(14,31,53,.97);
  box-shadow: 0 2px 30px rgba(0,0,0,.3);
  backdrop-filter: blur(10px);
}
.nav-logo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.25rem;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .01em;
}
.nav-logo span   { font-weight: 300; opacity: .5; }
.nav-logo strong { font-weight: 400; }

.nav-links { display: flex; gap: .15rem; flex: 1; }
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-size: .77rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: .4rem .85rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.1); }

.lang-switcher { display: flex; gap: 3px; flex-shrink: 0; }
.lbtn {
  font-family: 'Raleway', sans-serif;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  padding: .28rem .6rem;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 3px;
  transition: all .2s;
}
.lbtn:hover { color: var(--white); border-color: rgba(255,255,255,.5); }
.lbtn.on    { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .35rem; margin-left: auto;
}
.hamburger i {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.8); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open i:nth-child(2) { opacity: 0; }
.hamburger.open i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
#mob-nav {
  display: none; position: fixed; top: var(--navH); left: 0; right: 0;
  background: var(--navyD); z-index: 899;
  padding: .5rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
#mob-nav.open { display: block; }
#mob-nav a {
  display: block; padding: .8rem 0;
  font-family: 'Raleway', sans-serif; font-size: .9rem; font-weight: 600;
  color: rgba(255,255,255,.65); border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s;
}
#mob-nav a:hover { color: var(--white); }
.mob-lang { display: flex; gap: .5rem; margin-top: 1rem; }

/* ─── HERO ──────────────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: calc(var(--navH) + 3rem) 2rem 5rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('media/8ae70477c1_1.jpg') center/cover no-repeat;
  will-change: transform;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(8,18,32,.92) 0%,
    rgba(18,40,70,.88) 60%,
    rgba(26,60,100,.82) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 760px;
  animation: fadeUp .8s cubic-bezier(.2,.8,.3,1) both;
}
.hero-logo {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1; color: var(--white);
  letter-spacing: -.01em; margin-bottom: 1.6rem;
}
.hero-logo span   { font-weight: 300; opacity: .45; }
.hero-logo strong { font-weight: 400; }
.hero-rule {
  width: 50px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 0 auto 1.6rem;
}
.hero-sub {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(.78rem, 1.6vw, .92rem); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(175,210,240,.72);
  line-height: 2; margin-bottom: 1.8rem;
  animation: fadeUp .8s .15s cubic-bezier(.2,.8,.3,1) both;
}
.hero-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-style: italic; font-weight: 300;
  color: rgba(195,225,245,.8);
  max-width: 580px; margin: 0 auto 2.6rem;
  line-height: 1.7;
  animation: fadeUp .8s .25s cubic-bezier(.2,.8,.3,1) both;
}
.hero-btns {
  display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp .8s .35s cubic-bezier(.2,.8,.3,1) both;
}
.btn-p, .btn-s {
  font-family: 'Raleway', sans-serif;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .85rem 1.9rem; border-radius: 4px; transition: all .25s;
}
.btn-p {
  background: var(--accent); color: var(--white);
  box-shadow: 0 4px 20px rgba(61,133,200,.4);
}
.btn-p:hover { background: #5599d8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(61,133,200,.5); }
.btn-s {
  background: transparent; color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.25);
}
.btn-s:hover { border-color: rgba(255,255,255,.65); color: var(--white); transform: translateY(-2px); }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.3);
  font-family: 'Raleway', sans-serif; font-size: .62rem;
  letter-spacing: .14em; text-transform: uppercase;
  animation: bob 2.5s ease-in-out infinite;
}
.scroll-hint svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ─── ANIMATIONS ────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0);   opacity: .3; }
  50%      { transform: translateX(-50%) translateY(7px); opacity: .6; }
}

/* ─── SECTION BASE ──────────────────────────────────────────────── */
section { padding: 6rem 2rem; }
.wrap { max-width: 1080px; margin: 0 auto; }
.sec-top { text-align: center; margin-bottom: 3.5rem; }

.label {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem;
}
.heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600; color: var(--navy);
  line-height: 1.15; margin-bottom: 1rem;
}
.rule       { display: block; width: 44px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accentL)); margin: 0 auto; }
.rule-left  { margin: 0; }

/* ─── ABOUT ─────────────────────────────────────────────────────── */
#about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 370px; gap: 4rem; align-items: start;
}
.about-text .heading { margin-bottom: .6rem; }
.about-credentials {
  font-family: 'Raleway', sans-serif; font-size: .95rem;
  color: var(--accent); font-weight: 600; line-height: 1.7;
  margin-bottom: 1.2rem !important;
}
.about-text p { color: var(--textM); font-size: 1rem; margin-bottom: 1rem; }

.svc-list { margin-top: .8rem; }
.svc-list li {
  display: flex; align-items: baseline; gap: .8rem;
  padding: .65rem 0; border-bottom: 1px solid var(--border);
  font-size: .97rem; color: var(--text); transition: color .18s;
}
.svc-list li:last-child { border: none; }
.svc-list li:hover { color: var(--navy); }
.dot {
  flex-shrink: 0; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%; margin-top: .4rem;
}

/* 4-Step Process */
.steps-wrap {
  margin-top: 3.5rem; padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.steps-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.45rem;
  color: var(--navy); font-weight: 600; margin-bottom: 2rem; text-align: center;
}
.steps-grid {
  display: flex; align-items: stretch; gap: 0;
}
.step-card {
  flex: 1; text-align: center; padding: 1.8rem 1.2rem;
  background: var(--gray); border-radius: var(--radius);
  border: 1px solid var(--border); position: relative;
}
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: 'Raleway', sans-serif; font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.step-icon {
  width: 44px; height: 44px; margin: 0 auto .9rem;
  background: var(--ice); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg {
  width: 22px; height: 22px; stroke: var(--accent);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.step-card h4 {
  font-family: 'Raleway', sans-serif; font-size: .9rem;
  font-weight: 700; color: var(--navy); margin-bottom: .5rem;
}
.step-card p {
  font-size: .82rem; color: var(--textM); line-height: 1.55;
}
.step-arrow {
  flex-shrink: 0; width: 36px; align-self: center;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.step-arrow svg {
  width: 22px; height: 22px; stroke: var(--accentL);
  fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 760px) {
  .steps-grid { flex-direction: column; gap: .8rem; }
  .step-arrow { transform: rotate(90deg); width: 100%; height: 28px; }
}

/* Sidebar boxes */
.lang-box {
  background: var(--ice); border: 1px solid var(--iceD);
  border-radius: var(--radius); padding: 1.6rem; margin-bottom: 1.2rem;
}
.box-label {
  font-family: 'Raleway', sans-serif;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.lang-item {
  display: flex; align-items: center; gap: .9rem;
  background: var(--white); border-radius: 7px; padding: .7rem .9rem;
  margin-bottom: .6rem; box-shadow: var(--shadow-sm);
}
.lang-item:last-child { margin: 0; }
.lang-flag { font-size: 1.3rem; line-height: 1; }
.lang-name { font-weight: 600; color: var(--navy); font-size: .93rem; }
.lang-note { font-size: .8rem; color: var(--textL); }

.cbox {
  background: var(--navy); border-radius: var(--radius); padding: 1.6rem;
  font-size: .9rem; line-height: 1.85; color: rgba(195,220,240,.72);
}
.cbox .box-label { color: var(--accentL); margin-bottom: .8rem; }
.cbox strong { color: rgba(255,255,255,.9); font-weight: 600; }
.cbox a { color: var(--accentL); }
.cbox a:hover { color: var(--white); }

/* ─── FACHGEBIETE ───────────────────────────────────────────────── */
#fachgebiete { background: var(--gray); }
.fach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; }
.fach-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(210,230,240,.6);
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s;
}
.fach-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.fach-imgbox { height: 185px; overflow: hidden; position: relative; }
.fach-imgbox img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.8,.3,1), filter .45s;
  filter: saturate(.75);
}
.fach-card:hover .fach-imgbox img { transform: scale(1.08); filter: saturate(1.1); }
.fach-imgbox::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,53,88,.3), transparent 60%);
  transition: opacity .3s;
}
.fach-card:hover .fach-imgbox::after { opacity: 0; }
.fach-body { padding: 1.6rem; }
.fach-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--navy);
  margin-bottom: .7rem; line-height: 1.25;
}
.fach-body p { font-size: .88rem; color: var(--textL); line-height: 1.72; }

/* ─── REFERENZEN ────────────────────────────────────────────────── */
#referenzen { background: var(--white); }
.tabs {
  display: flex; border-bottom: 1.5px solid var(--border); margin-bottom: 2.5rem;
  overflow-x: auto; white-space: nowrap;
}
.tab {
  font-family: 'Raleway', sans-serif;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--textL); padding: .8rem 1.4rem;
  border-bottom: 2px solid transparent; margin-bottom: -1.5px;
  transition: color .2s, border-color .2s; cursor: pointer;
}
.tab:hover { color: var(--blue); }
.tab.on    { color: var(--navy); border-bottom-color: var(--accent); }
.panel     { display: none; }
.panel.on  { display: block; }

.ref-img {
  width: 100%; height: 195px; object-fit: cover;
  border-radius: 9px; margin-bottom: 2rem; filter: saturate(.75);
}
.ref-cols { columns: 2; gap: 2rem; }
.ref-cols li {
  display: flex; gap: .5rem; align-items: baseline;
  padding: .38rem 0; font-size: .91rem; color: var(--textM);
  break-inside: avoid; transition: color .15s;
}
.ref-cols li:hover { color: var(--navy); }
.ref-cols li::before { content: '›'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

.proj-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(290px,1fr)); gap: 1.2rem; }
.proj-card {
  display: flex; gap: .9rem; padding: 1rem;
  border: 1px solid var(--border); border-radius: 9px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.proj-card:hover { border-color: var(--accent); box-shadow: 0 4px 24px rgba(26,53,88,.1); transform: translateY(-2px); }
.proj-thumb { width: 110px; height: 110px; object-fit: cover; border-radius: 5px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.proj-info h4 { font-family: 'Raleway', sans-serif; font-size: .88rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; line-height: 1.3; }
.proj-info p  { font-size: .79rem; color: var(--textL); line-height: 1.55; }

/* ─── LEBENSLAUF ────────────────────────────────────────────────── */
#lebenslauf { background: var(--gray); }
.cv-grid { display: grid; grid-template-columns: 220px 1fr; gap: 4rem; align-items: start; }
.cv-portrait { width: 100%; border-radius: 9px; box-shadow: var(--shadow-md); margin-bottom: 1.2rem; }
.cv-data {
  background: var(--navy); border-radius: 9px; padding: 1.3rem;
  font-size: .88rem; line-height: 1.8; color: rgba(190,215,240,.72);
}
.cv-data .box-label { color: var(--accentL); margin-bottom: .7rem; }
.cv-data strong { color: rgba(255,255,255,.9); font-size: 1rem; display: block; margin-bottom: .25rem; }

.tl-sec { margin-bottom: 2.2rem; }
.tl-sec-title {
  font-family: 'Raleway', sans-serif;
  font-size: .66rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); padding-bottom: .55rem;
  border-bottom: 1.5px solid var(--border); margin-bottom: .9rem;
}
.tl-row {
  display: grid; grid-template-columns: 160px 1fr; gap: .9rem;
  padding: .6rem 0; border-bottom: 1px solid var(--border);
}
.tl-row:last-child { border: none; }
.tl-yr   { font-family: 'Raleway', sans-serif; font-size: .82rem; font-weight: 700; color: var(--textL); white-space: nowrap; }
.tl-desc { font-size: .92rem; color: var(--textM); line-height: 1.62; }
.tl-desc strong { color: var(--navy); font-weight: 600; display: block; margin-bottom: .1rem; }

/* ─── KONTAKT ───────────────────────────────────────────────────── */
#kontakt { background: var(--white); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.k-img {
  width: 100%; height: 175px; object-fit: cover;
  border-radius: 9px; margin-bottom: 1.8rem; filter: saturate(.6);
}
.k-item { display: flex; gap: .9rem; margin-bottom: 1.3rem; }
.k-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--ice); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.k-icon svg { width: 16px; height: 16px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.k-detail { font-size: .9rem; }
.k-detail strong { display: block; font-weight: 600; color: var(--navy); margin-bottom: .1rem; }
.k-detail span, .k-detail a { color: var(--textL); }
.k-detail a:hover { color: var(--blue); }

.soc-row { display: flex; gap: .5rem; margin-top: 1.8rem; align-items: center; }
.soc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px;
  transition: opacity .2s, transform .2s;
}
.soc-icon:hover { opacity: .82; transform: translateY(-2px); }
.soc-icon img { width: 32px; height: 32px; display: block; }

/* Contact form */
.cform { display: flex; flex-direction: column; gap: 1rem; }
.fg    { display: flex; flex-direction: column; gap: .3rem; }
.fg2   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg label {
  font-family: 'Raleway', sans-serif; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy);
}
.fg input, .fg select, .fg textarea {
  padding: .72rem 1rem; border: 1.5px solid var(--border); border-radius: 6px;
  font-family: 'Source Sans 3', sans-serif; font-size: .93rem; color: var(--text);
  background: var(--gray); outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--accent); background: var(--white);
  box-shadow: 0 0 0 3px rgba(61,133,200,.12);
}
.fg textarea { resize: vertical; min-height: 125px; }

.check-row { display: flex; gap: .65rem; align-items: flex-start; font-size: .83rem; color: var(--textL); }
.check-row input { margin-top: .22rem; accent-color: var(--accent); flex-shrink: 0; }
.check-row a { color: var(--blue); text-decoration: underline; }

.btn-send {
  display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start;
  font-family: 'Raleway', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); background: var(--navy);
  padding: .85rem 2rem; border-radius: 5px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-send:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 6px 22px rgba(45,106,159,.3); }
.btn-send svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

.form-ok {
  display: none; background: #eaf5ec; border: 1px solid #b3d9b9;
  border-radius: 8px; padding: 1.1rem 1.4rem;
  color: #1f6430; font-size: .95rem; font-weight: 600;
}
.form-ok.show { display: block; }

/* Pflichtfeld-Fehler */
.fg.field-err input,
.fg.field-err select,
.fg.field-err textarea {
  border-color: #c00 !important;
  background: #fff8f8 !important;
  box-shadow: 0 0 0 3px rgba(200,0,0,.08) !important;
}
.fg.field-err label { color: #c00; }
.check-row.field-err { color: #c00; }
.check-row.field-err a { color: #c00; }

/* Fehlermeldung Formular */
.form-err {
  background: #fdf1f1; border: 1px solid #e8b8b8;
  border-radius: 6px; padding: .75rem 1rem;
  color: #b00020; font-size: .87rem; font-weight: 600;
}

/* Lade-Zustand Sende-Button */
.btn-send:disabled        { opacity: .65; cursor: not-allowed; transform: none; }
.btn-send.loading::after  {
  content: ''; display: inline-block; width: 12px; height: 12px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: btn-spin .7s linear infinite; margin-left: .4rem;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* FilePond Hinweistext */
.fp-hint {
  font-size: .76rem; color: var(--textL); margin: .2rem 0 0; line-height: 1.4;
}

/* FilePond – "Keine ausgewählt" (Browser-Native-Input) und Credits verstecken */
.filepond--browser        { position: absolute !important; left: -9999px !important; }
.filepond--credits        { display: none !important; }

/* FilePond – an Seitendesign anpassen */
.filepond--root { font-family: 'Source Sans 3', sans-serif; font-size: .9rem; }
.filepond--panel-root { background: var(--gray); border: 1.5px solid var(--border); border-radius: 6px; }
.filepond--drop-label { color: var(--textL); }
.filepond--drop-label label { cursor: pointer; }
.filepond--label-action { color: var(--accent); text-decoration: underline; }
.filepond--item-panel { background: var(--navy); }
.filepond--file-action-button { background: rgba(0,0,0,.3); }
.filepond--file { font-size: .82rem; }

/* ─── MODAL ─────────────────────────────────────────────────────── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,20,40,.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 12px; padding: 2.5rem 2.8rem;
  max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto;
  position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none; font-size: 1.6rem; line-height: 1;
  color: var(--textL); cursor: pointer; padding: .2rem .5rem;
  transition: color .15s;
}
.modal-close:hover { color: var(--navy); }
.modal-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
  color: var(--navy); font-weight: 600; margin-bottom: .3rem;
}
.modal-sub {
  font-family: 'Raleway', sans-serif; font-size: .88rem;
  color: var(--accent); font-weight: 600; margin-bottom: 1.4rem;
  line-height: 1.6; border-bottom: 1px solid var(--border); padding-bottom: 1rem;
}
.modal-box p { font-size: .95rem; color: var(--textM); margin-bottom: 1rem; line-height: 1.7; }
.modal-box a { color: var(--accent); }
.modal-h3 {
  font-family: 'Raleway', sans-serif; font-size: .9rem; font-weight: 700;
  color: var(--navy); margin: 1.2rem 0 .4rem; text-transform: uppercase; letter-spacing: .05em;
}
.modal-meta { font-size: .83rem; color: var(--textL); border-top: 1px solid var(--border); padding-top: .8rem; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
footer {
  background: var(--navyD); color: rgba(150,180,210,.5);
  font-family: 'Raleway', sans-serif; font-size: .78rem;
  letter-spacing: .04em; text-align: center; padding: 2.2rem 2rem;
}
.ft-links { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: .4rem; }
.ft-links a { color: rgba(150,180,210,.5); padding: .1rem .4rem; transition: color .2s; }
.ft-links a:hover { color: rgba(255,255,255,.75); }
.ft-sep { opacity: .3; }

/* ─── BACK TO TOP ───────────────────────────────────────────────── */
#btt {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 800;
  width: 42px; height: 42px; background: var(--navy); border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); box-shadow: 0 3px 18px rgba(0,0,0,.2);
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: opacity .3s, transform .3s, background .2s;
}
#btt.show { opacity: 1; pointer-events: all; transform: translateY(0); }
#btt:hover { background: var(--blue); }
#btt svg { width: 17px; height: 17px; stroke: var(--white); fill: none; stroke-width: 2; }

/* ─── COOKIE BANNER ─────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  color: #fff;
  z-index: 9998;
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0,0,0,.3);
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.22,.68,0,1.1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 220px;
  font-size: .88rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(255,255,255,.88);
}
.cookie-text a { color: var(--accentL); text-decoration: underline; }
.cookie-text a:hover { color: #fff; }
.cookie-btns { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-btn {
  padding: .5rem 1.4rem;
  border: none;
  border-radius: 4px;
  font-family: var(--ff-ui);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.cookie-btn:hover { opacity: .88; transform: translateY(-1px); }
.cookie-btn--accept { background: var(--accent); color: #fff; }
.cookie-btn--decline {
  background: transparent;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.28);
}
.cookie-btn--decline:hover { color: #fff; border-color: rgba(255,255,255,.6); }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .about-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .fach-grid     { grid-template-columns: 1fr 1fr; }
  .cv-grid       { grid-template-columns: 180px 1fr; gap: 2.5rem; }
  .kontakt-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .fach-grid { grid-template-columns: 1fr; }
  .cv-grid   { grid-template-columns: 1fr; }
  .cv-portrait { max-width: 200px; }
  .ref-cols  { columns: 1; }
  .tl-row    { grid-template-columns: 130px 1fr; }
  section    { padding: 4rem 1.2rem; }
}
@media (max-width: 500px) {
  .fg2       { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
