/* ─── RESET & BASE ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* WordPress admin bar offset */
.admin-bar #navbar { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar #navbar { top: 46px; } }

/* ─── VARIABLES ─────────────────────────────────────────────────── */
:root {
  --yellow:           #ffdd59;
  --dark:             #1a1a1a;
  --white:            #ffffff;
  --gray-light:       #f8f8f8;
  --gray-mid:         #f0f0f0;
  --gray-placeholder: #f5f5f5;
  --text-muted:       #64748b;
  --shadow-sm:        0 2px 12px rgba(0,0,0,0.07);
  --shadow-md:        0 8px 32px rgba(0,0,0,0.11);
  --shadow-lg:        0 20px 60px rgba(0,0,0,0.14);
  --radius:           4px;
  --nav-h:            72px;
  --transition:       0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { line-height: 1.75; color: #444; }

/* ─── CONTAINER ─────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ─── SECTION BADGE ─────────────────────────────────────────────── */
.section-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #1a1a1a; background: var(--yellow);
  padding: 4px 12px; border-radius: 2px; margin-bottom: 20px;
}
.section-badge.light {
  background: transparent; border: 1.5px solid var(--yellow); color: #fff;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; }
.yellow-underline { display: inline-block; position: relative; }
.yellow-underline::after {
  content: ''; display: block; height: 4px;
  background: var(--yellow); border-radius: 2px; margin-top: 8px;
  width: 60%; margin-left: auto; margin-right: auto;
}

/* ─── NAVIGATION ────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex; align-items: center;
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1360px; width: 100%; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo { flex-shrink: 0; line-height: 1; }
.nav-logo .custom-logo { max-height: 44px; width: auto; display: block; }
.nav-logo .custom-logo-link { display: block; line-height: 0; }
.footer-logo-img { display: inline-block; margin-bottom: 4px; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 4px; }
.nav-links a {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: #1a1a1a; padding: 6px 12px;
  border-radius: var(--radius); position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 12px; right: 12px;
  height: 2px; background: var(--yellow);
  transform: scaleX(0); transition: transform var(--transition); border-radius: 1px;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover { color: #000; }
.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav-social { display: flex; gap: 10px; align-items: center; }
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12); color: #1a1a1a;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.nav-social a:hover { border-color: var(--yellow); background: var(--yellow); }
.nav-social a svg { width: 15px; height: 15px; }
.btn-nav-cta {
  background: #1a1a1a; color: #fff; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 22px; border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav-cta:hover { background: #333; transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px; margin-left: auto; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #1a1a1a; border-radius: 1px; transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 999; padding: 20px 40px 28px; box-shadow: var(--shadow-md);
}
#mobile-menu.open { display: block; }
#mobile-menu a {
  display: block; font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: #1a1a1a;
  padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
}
#mobile-menu a:last-child { border-bottom: none; }
.mobile-social { display: flex; gap: 12px; margin-top: 20px; }

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 28px; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all var(--transition);
}
.btn-dark { background: #1a1a1a; color: #fff; }
.btn-dark:hover { background: #333; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-yellow { background: var(--yellow); color: #1a1a1a; }
.btn-yellow:hover { background: #f5d200; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(255,221,89,0.4); }
.btn-outline { background: transparent; color: #1a1a1a; border: 2px solid #1a1a1a; }
.btn-outline:hover { background: #1a1a1a; color: #fff; }
.btn-outline-yellow { background: transparent; color: var(--yellow); border: 2px solid var(--yellow); }
.btn-outline-yellow:hover { background: var(--yellow); color: #1a1a1a; }
.btn-white { background: #ffffff; color: #1a1a1a; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.section-badge.dark { background: #1a1a1a; color: var(--yellow); }
.btn-link-yellow {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #b8a000; cursor: pointer; padding: 0; background: none; border: none;
  font-family: 'Inter', sans-serif; transition: gap var(--transition), color var(--transition);
}
.btn-link-yellow:hover { color: #8a7800; gap: 10px; }

/* ─── HERO ──────────────────────────────────────────────────────── */
#home {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding-top: var(--nav-h); position: relative;
  overflow: hidden; background: #050d1f;
}
.hero-day {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  pointer-events: none; z-index: 0;
}
.hero-night {
  position: absolute; inset: 0;
  background: center / cover no-repeat;
  pointer-events: none; z-index: 1; opacity: 0;
  animation: dayToNight 3.5s ease-in-out 0.3s forwards;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(3,7,18,0.50) 0%, rgba(3,7,18,0.0) 100%),
    linear-gradient(135deg, rgba(3,7,18,0.70) 0%, rgba(3,7,18,0.42) 42%, rgba(3,7,18,0.62) 100%);
  animation: overlayIn 3.5s ease-in-out 0.3s both;
}
@keyframes dayToNight {
  0%   { opacity: 0; }
  20%  { opacity: 0.05; }
  55%  { opacity: 0.45; }
  80%  { opacity: 0.88; }
  100% { opacity: 1; }
}
@keyframes overlayIn {
  0%   { opacity: 0.20; }
  55%  { opacity: 0.55; }
  100% { opacity: 1; }
}
.hero-left {
  position: relative; z-index: 3; width: 100%;
  max-width: 820px; padding: 80px 2rem; text-align: center;
}
.hero-left-inner { max-width: 720px; margin: 0 auto; }
.hero-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,221,89,0.85);
  margin-bottom: 28px; display: flex; align-items: center;
  justify-content: center; gap: 10px;
}
.hero-label::before {
  content: ''; display: inline-block; width: 28px; height: 2px; background: var(--yellow);
}
.hero-h1 { margin-bottom: 24px; color: #ffffff; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.hero-p {
  font-size: 1.05rem; line-height: 1.75; color: rgba(255,255,255,0.90);
  margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto;
  text-shadow: 0 1px 12px rgba(0,0,0,0.75), 0 0 32px rgba(0,0,0,0.50);
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 52px; }

/* ─── ÜBER UNS ──────────────────────────────────────────────────── */
#ueber-uns { background: #fff; }
.ueber-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; max-width: 1200px; margin: 0 auto; padding: 100px 40px;
}
.ueber-img-wrap {
  aspect-ratio: 4/3; background: var(--gray-placeholder);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; color: #aaa;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; position: sticky; top: calc(var(--nav-h) + 24px);
  overflow: hidden;
}
.ueber-img-wrap .img-icon { font-size: 2.5rem; opacity: 0.45; }
.ueber-text h2 { margin-bottom: 20px; }
.ueber-text > p { margin-bottom: 18px; font-size: 0.97rem; }
.ueber-bullets { margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.ueber-bullet {
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 18px;
  background: var(--gray-light); border-radius: var(--radius); border-left: 3px solid var(--yellow);
}
.ueber-bullet-dot {
  width: 8px; height: 8px; background: var(--yellow);
  border-radius: 50%; flex-shrink: 0; margin-top: 7px;
}
.ueber-bullet strong { display: block; font-size: 0.88rem; font-weight: 700; color: #1a1a1a; }
.ueber-outro {
  margin-top: 24px; padding: 20px 22px; border-left: 3px solid var(--yellow);
  background: #fffdf0; font-size: 0.95rem; line-height: 1.7; color: #333;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.ueber-outro strong { color: #1a1a1a; }

/* ─── LEISTUNGEN ────────────────────────────────────────────────── */
#leistungen { background: #ffffff; }
.leistungen-intro { max-width: 1200px; margin: 0 auto; padding: 100px 40px 0; }
.feat { padding: 6rem 0; }
.feat:nth-child(even) { background: #f8f8f8; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.feat-grid.rev { direction: rtl; }
.feat-grid.rev > * { direction: ltr; }
.feat-content h2 { color: #1a1a1a; margin-bottom: .875rem; font-size: clamp(1.6rem,3vw,2.25rem); }
.feat-content .lead { font-size: 1.05rem; font-weight: 600; color: #1a1a1a; margin-bottom: .625rem; }
.feat-content p { color: #64748b; margin-bottom: 2rem; line-height: 1.7; }
.mosaic { display: grid; gap: .75rem; }
.mosaic-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 160px; }
.mosaic-main { grid-column: 1 / -1; }
.mosaic-img {
  border-radius: 14px; overflow: hidden; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: #f0f0f0; color: #aaa; border: 1.5px solid #e5e5e5;
}
.mosaic-img.y1 { background: linear-gradient(135deg,#fffbea,#fff8d0); color: #c8a800; border-color: #f0e090; }
.mosaic-img.y2 { background: linear-gradient(135deg,#f5f5f5,#eee); color: #aaa; }
.mosaic-img.y3 { background: linear-gradient(135deg,#fdf9e0,#f5f0c0); color: #b8980a; border-color: #ecdfa0; }

/* ─── PROJEKTE ──────────────────────────────────────────────────── */
#projekte { background: #f8f8f8; }
.projekte-section-inner { max-width: 1200px; margin: 0 auto; padding: 100px 40px; }
.projekte-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.projekt-card {
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer; background: #fff; border: 1.5px solid #eee;
}
.projekt-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.projekt-img {
  height: 220px; background: var(--gray-mid); display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: #aaa; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
  border: 2px dashed var(--yellow); border-bottom: none;
}
.projekt-img .proj-icon { font-size: 2rem; opacity: 0.5; }
.projekt-body { padding: 22px 24px 24px; }
.projekt-year-badge {
  display: inline-block; background: var(--yellow); color: #1a1a1a;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.12em;
  padding: 3px 10px; border-radius: 50px; margin-bottom: 10px;
}
.projekt-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; color: #1a1a1a; }
.projekt-location { font-size: 0.78rem; color: #888; margin-bottom: 16px; display: flex; align-items: center; gap: 4px; }

/* ─── KARRIERE ──────────────────────────────────────────────────── */
#karriere { background: var(--yellow); }
.karriere-inner { max-width: 1200px; margin: 0 auto; padding: 100px 40px; }
.karriere-header { text-align: center; margin-bottom: 20px; }
.karriere-header h2 { color: #1a1a1a; margin-bottom: 16px; }
.karriere-intro { max-width: 640px; margin: 0 auto 56px; text-align: center; font-size: 1rem; line-height: 1.75; color: #333; }
.karriere-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.karriere-card {
  background: rgba(0,0,0,0.04); border: 2px solid rgba(0,0,0,0.15);
  border-radius: 14px; padding: 36px 32px;
  transition: border-color var(--transition), background var(--transition);
}
.karriere-card:hover { border-color: #1a1a1a; background: rgba(0,0,0,0.08); }
.karriere-card-icon {
  width: 50px; height: 50px; background: rgba(0,0,0,0.08);
  border: 1.5px solid rgba(0,0,0,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 20px;
}
.karriere-card h3 { color: #1a1a1a; font-size: 1.1rem; margin-bottom: 8px; }
.karriere-card .job-subtitle { font-size: 0.85rem; color: #444; margin-bottom: 24px; }

/* ─── KONTAKT ───────────────────────────────────────────────────── */
#kontakt { background: #ffffff; }
.kontakt-inner { max-width: 1200px; margin: 0 auto; padding: 100px 40px; }
.kontakt-top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 44px; align-items: start; margin-bottom: 36px; }
.kontakt-details-col h3 { font-size: 1.25rem; font-weight: 700; color: #1a1a1a; margin-bottom: 1.5rem; }
.kontakt-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.kontakt-detail-icon {
  width: 36px; height: 36px; background: var(--yellow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0;
}
.kontakt-detail-text { padding-top: 6px; font-size: 0.92rem; color: #444; line-height: 1.5; }
.kontakt-detail-text a { color: #444; }
.kontakt-detail-text a:hover { color: #b8a000; }
.kontakt-social-row { margin-top: 20px; display: flex; gap: 10px; }
.kontakt-social-btn {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700;
  color: #1a1a1a; background: var(--yellow); padding: 9px 18px; border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}
.kontakt-social-btn:hover { background: #f5d200; transform: translateY(-1px); }
.kontakt-social-btn svg { width: 14px; height: 14px; }
.map-wrap { border-radius: 14px; overflow: hidden; border: 1.5px solid #eee; height: 320px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.kontakt-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vcard {
  display: flex; gap: 20px; align-items: flex-start; background: #f8f8f8;
  border-radius: 14px; padding: 28px 24px; border: 1.5px solid #eee;
  transition: box-shadow var(--transition), transform var(--transition);
}
.vcard:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.09); transform: translateY(-2px); }
.vcard-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: #e2e2e2;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; border: 3px solid var(--yellow); overflow: hidden;
}
.vcard-body { flex: 1; min-width: 0; }
.vcard-name { font-size: 1rem; font-weight: 700; color: #1a1a1a; margin-bottom: 3px; }
.vcard-role { font-size: 0.72rem; font-weight: 600; color: #888; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.vcard-contact { display: flex; flex-direction: column; gap: 7px; }
.vcard-contact a { font-size: 0.83rem; color: #555; display: flex; align-items: center; gap: 8px; }
.vcard-contact a:hover { color: #b8a000; }
.vcard-contact svg { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.6; }
.vcard-actions { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.vcard-btn {
  font-size: 0.74rem; font-weight: 700; color: #1a1a1a; background: var(--yellow);
  padding: 7px 16px; border-radius: 100px;
  transition: background var(--transition), transform var(--transition);
}
.vcard-btn:hover { background: #f5d200; transform: translateY(-1px); }
.vcard-btn-li {
  font-size: 0.74rem; font-weight: 700; color: #555; background: transparent;
  padding: 6px 16px; border-radius: 100px; border: 1.5px solid #ddd;
  transition: border-color var(--transition), color var(--transition);
}
.vcard-btn-li:hover { border-color: #1a1a1a; color: #1a1a1a; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
footer { background: var(--yellow); border-top: none; padding: 60px 40px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(0,0,0,0.15);
}
.footer-desc { font-size: 0.85rem; color: #1a1a1a; line-height: 1.7; margin-bottom: 20px; margin-top: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(0,0,0,0.25);
  display: flex; align-items: center; justify-content: center; color: #1a1a1a;
  transition: all var(--transition);
}
.footer-social a:hover { border-color: #1a1a1a; background: #1a1a1a; color: var(--yellow); }
.footer-social a svg { width: 15px; height: 15px; }
.footer-col h4 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: #1a1a1a; margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.87rem; color: #1a1a1a; transition: color var(--transition); }
.footer-col ul a:hover { color: #333; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 0.8rem; color: #1a1a1a; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: #1a1a1a; transition: color var(--transition); }
.footer-legal a:hover { color: #333; }

/* ─── BACK TO TOP ───────────────────────────────────────────────── */
#back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px; background: var(--yellow); color: #1a1a1a;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; cursor: pointer; z-index: 900;
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-sm); border: none;
}
#back-top.visible { opacity: 1; transform: translateY(0); }
#back-top:hover { box-shadow: 0 6px 20px rgba(255,221,89,0.5); transform: translateY(-2px); }

/* ─── MODALS ────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-card {
  background: #fff; border-radius: 10px; max-width: 600px; width: 100%;
  max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-lg);
  position: relative; transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
}
.modal-overlay.active .modal-card { transform: translateY(0) scale(1); }
.modal-top-bar { height: 4px; background: var(--yellow); border-radius: 10px 10px 0 0; }
.modal-body { padding: 36px 36px 32px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  background: #f0f0f0; border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: #555;
  transition: background var(--transition), color var(--transition);
}
.modal-close:hover { background: #ddd; color: #1a1a1a; }
.modal-badge {
  display: inline-block; background: var(--yellow); color: #1a1a1a;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 2px; margin-bottom: 12px;
}
.modal-body h3 { font-size: 1.3rem; margin-bottom: 14px; }
.modal-body p { font-size: 0.92rem; line-height: 1.75; color: #555; margin-bottom: 14px; }
.modal-list { margin: 14px 0; display: flex; flex-direction: column; gap: 8px; }
.modal-list li {
  font-size: 0.9rem; color: #444; padding-left: 18px;
  position: relative; line-height: 1.6;
}
.modal-list li::before {
  content: '·'; position: absolute; left: 4px; color: var(--yellow);
  font-size: 1.3rem; line-height: 1; top: 0;
}
.modal-section-label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; color: #888; margin: 18px 0 8px;
}
.modal-footer { padding: 0 36px 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.modal-img-placeholder {
  height: 180px; background: var(--gray-mid); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: #aaa; font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 20px; overflow: hidden;
}

/* ─── SCROLL REVEAL ─────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-left { padding: 60px 40px; max-width: 100%; }
  .ueber-grid { grid-template-columns: 1fr; gap: 40px; padding: 72px 24px; }
  .ueber-img-wrap { position: static; aspect-ratio: 16/9; }
  .karriere-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-social, .btn-nav-cta { display: none; }
  .hamburger { display: flex; }
  .feat-grid, .feat-grid.rev { grid-template-columns: 1fr; direction: ltr; gap: 2.5rem; }
  .kontakt-top { grid-template-columns: 1fr; }
  .map-wrap { height: 260px; }
}
@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .leistungen-intro { padding: 72px 24px 0; }
  .projekte-section-inner { padding: 72px 24px; }
  .karriere-inner { padding: 72px 24px; }
  .kontakt-inner { padding: 72px 24px; }
  .projekte-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  footer { padding: 48px 24px 28px; }
}
@media (max-width: 600px) {
  .kontakt-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .modal-body { padding: 28px 22px 22px; }
  .modal-footer { padding: 0 22px 24px; }
}

/* ─── LEGAL PAGE (Impressum / Datenschutz) ──────────────────────────── */
.legal-page {
  padding-top: var(--nav-h);
  min-height: 100vh;
  background: #fff;
}
.legal-page-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 32px 80px;
}
.legal-page-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #1a1a1a;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--yellow);
  display: inline-block;
}
.legal-page-content { color: #444; line-height: 1.8; font-size: 1rem; }
.legal-page-content h2 { font-size: 1.25rem; color: #1a1a1a; margin: 36px 0 12px; }
.legal-page-content h3 { font-size: 1.05rem; color: #1a1a1a; margin: 24px 0 8px; }
.legal-page-content p { margin-bottom: 16px; }
.legal-page-content a { color: var(--yellow-dark, #b8860b); text-decoration: underline; text-underline-offset: 3px; }
.legal-page-content ul, .legal-page-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-page-content li { margin-bottom: 6px; }
@media (max-width: 600px) {
  .legal-page-inner { padding: 40px 20px 60px; }
}
