/* =============================================================
   SouverIT – Main Stylesheet
   CI Colors: Dark #283655 | Mid #4D648D | Light #D0E1F9 | White #FCFDFE | Accent #D55448
   Fonts: Montserrat (headings, 700/800) | Inter (body, 400/500/600)
   ============================================================= */

/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  /* Brand colors */
  --c-dark:       #283655;
  --c-dark-alt:   #1d2847;
  --c-darker:     #141c30;
  --c-mid:        #4D648D;
  --c-light:      #D0E1F9;
  --c-white:      #FCFDFE;
  --c-accent:     #D55448;

  /* Text colors */
  --t-on-dark:    #FCFDFE;
  --t-on-light:   #1a2440;
  --t-muted-dark: #a8bdd8;
  --t-muted-light:#4a5f7a;

  /* Spacing */
  --section-py:   5rem;
  --container:    1140px;
  --radius:       10px;
  --radius-lg:    16px;

  /* Transitions */
  --ease-out:     cubic-bezier(0, 0.7, 0.3, 1);
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--t-on-dark);
  background-color: var(--c-dark-alt);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }

p { max-width: 65ch; }

code {
  font-family: 'Source Code Pro', 'Fira Code', 'Courier New', monospace;
  font-size: 0.875em;
  background: rgba(77, 100, 141, 0.25);
  color: var(--c-light);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

strong {
  font-weight: 600;
  color: inherit;
}

/* ── 4. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: var(--section-py);
}

.section-light {
  background-color: var(--c-white);
  color: var(--t-on-light);
}

.section-dark {
  background-color: var(--c-dark-alt);
  color: var(--t-on-dark);
}

.section-dark-alt {
  background: linear-gradient(135deg, var(--c-darker) 0%, #1f2e4f 100%);
  color: var(--t-on-dark);
}

.section-skills {
  background:
    radial-gradient(ellipse 85% 55% at 50% 30%,
      rgba(77, 100, 141, 0.22) 0%,
      rgba(40, 54, 85, 0.08) 55%,
      transparent 100%),
    linear-gradient(160deg, #131e38 0%, #0c1521 50%, #141d34 100%);
  color: var(--t-on-dark);
  position: relative;
}

/* Accent underline on section heading */
.section-skills .section-header .section-title {
  color: var(--t-on-dark);
}
.section-skills .section-header .section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-mid) 100%);
  border-radius: 2px;
  margin: 0.55rem auto 0;
}

/* Text color overrides inside the skills/about section */
.section-skills .section-sub     { color: var(--t-muted-dark); }
.section-skills .about-text      { color: var(--t-on-dark); }
.section-skills .about-text p    { color: var(--t-muted-dark); }
.section-skills .about-lead      { color: var(--t-on-dark) !important; }
.section-skills .about-text strong { color: var(--c-light); }

/* Glass portrait cards */
.section-skills .portrait-wrap {
  background: rgba(77, 100, 141, 0.07);
  border: 1px solid rgba(208, 225, 249, 0.09);
  border-radius: 20px;
  padding: 2rem 1.25rem 1.5rem;
  transition:
    background  0.3s var(--ease-smooth),
    border-color 0.3s var(--ease-smooth),
    transform    0.3s var(--ease-smooth),
    box-shadow   0.3s var(--ease-smooth);
}
.section-skills .portrait-wrap:hover {
  background: rgba(77, 100, 141, 0.14);
  border-color: rgba(208, 225, 249, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(13, 21, 33, 0.65);
}

/* CI gradient ring border in skills section */
.section-skills .portrait-ring {
  background: linear-gradient(135deg, var(--c-mid) 0%, rgba(208, 225, 249, 0.85) 100%);
  box-shadow:
    0 0 0 1px rgba(208, 225, 249, 0.22),
    0 8px 30px rgba(77, 100, 141, 0.38);
}

/* Portrait name / role on dark */
.section-skills .portrait-name {
  color: var(--c-light);
  font-size: 1rem;
}
.section-skills .portrait-role { color: rgba(208, 225, 249, 0.55); }

/* Skill tags – CI style */
.section-skills .p-tag {
  background: rgba(77, 100, 141, 0.18);
  border-color: rgba(208, 225, 249, 0.16);
  color: var(--c-light);
  font-size: 0.7rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  margin-bottom: 0.6rem;
}

.section-light .section-title {
  color: var(--t-on-light);
}

.section-sub {
  font-size: 1.05rem;
  opacity: 0.65;
  max-width: none;
}

.section-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid rgba(213, 84, 72, 0.4);
  border-radius: 100px;
  padding: 0.3em 1em;
  margin-bottom: 1rem;
}

/* ── 5. LOGO WORDMARK ─────────────────────────────────────── */
.logo-souver {
  color: var(--c-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

.logo-it {
  color: var(--c-accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
}

/* Light sections: invert wordmark */
.section-light .logo-souver {
  color: var(--c-dark);
}

/* ── 6. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75em 1.75em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease-smooth),
    color 0.2s var(--ease-smooth),
    border-color 0.2s var(--ease-smooth),
    box-shadow 0.2s var(--ease-smooth),
    transform 0.15s var(--ease-smooth);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}

.btn-primary:hover {
  background-color: #bf4840;
  border-color: #bf4840;
  box-shadow: 0 4px 18px rgba(213, 84, 72, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--c-white);
  border-color: rgba(208, 225, 249, 0.4);
}

.btn-outline:hover {
  background-color: rgba(208, 225, 249, 0.1);
  border-color: rgba(208, 225, 249, 0.7);
}

/* ── 7. HEADER / NAV ──────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

#site-header.scrolled {
  background-color: rgba(29, 40, 71, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(77, 100, 141, 0.25);
}

.nav-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--t-muted-dark);
  padding: 0.5em 0.9em;
  border-radius: 6px;
  transition: color 0.2s, background-color 0.2s;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--c-white);
  background-color: rgba(77, 100, 141, 0.25);
  outline: none;
}

.nav-menu a.nav-cta {
  color: var(--c-white);
  background-color: var(--c-accent);
  padding: 0.45em 1.1em;
}

.nav-menu a.nav-cta:hover {
  background-color: #bf4840;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.nav-toggle:hover {
  background-color: rgba(77, 100, 141, 0.3);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--c-white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── 8. HERO ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--c-dark);
  padding-top: 64px; /* header height */
}

/* Subtle background grid / pattern */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(77, 100, 141, 0.18) 0%, transparent 70%),
    linear-gradient(to bottom, var(--c-dark) 0%, var(--c-dark-alt) 100%);
  background-size: 100% 100%, 100% 100%;
}

/* Dot grid overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(208, 225, 249, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-block: 4rem;
}

.hero-text {
  max-width: 560px;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
  max-width: none;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--t-muted-dark);
  margin-bottom: 1.75rem;
  max-width: 50ch;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--t-muted-dark);
}

.hero-bullets li svg {
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero illustration */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 20px 60px rgba(29, 40, 71, 0.6));
  animation: floatArt 6s ease-in-out infinite;
}

@keyframes floatArt {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── 9. SERVICE CARDS ─────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--c-dark);
  border: 1px solid rgba(77, 100, 141, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    transform 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth);
  color: var(--t-on-dark);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(29, 40, 71, 0.5);
  border-color: rgba(77, 100, 141, 0.7);
}

.card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0;
}

.card-body,
.card-intro {
  font-size: 0.93rem;
  color: var(--t-muted-dark);
  line-height: 1.65;
  max-width: none;
}

.card-intro {
  margin-bottom: 0;
}

.card-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 0;
  font-size: 0.88rem;
  color: var(--t-muted-dark);
}

.card-list li {
  padding-left: 1.1em;
  position: relative;
}

.card-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

/* Spec list variant */
.card-list-specs li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0;
}

.card-list-specs li::before {
  display: none;
}

.spec-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background-color: rgba(77, 100, 141, 0.35);
  color: var(--c-light);
  padding: 0.2em 0.55em;
  border-radius: 4px;
  min-width: 3.2rem;
  text-align: center;
  flex-shrink: 0;
}

.card-note {
  font-size: 0.83rem;
  color: var(--t-muted-dark);
  opacity: 0.75;
  border-top: 1px solid rgba(77, 100, 141, 0.2);
  padding-top: 0.75rem;
  max-width: none;
}

/* ── 10. PROJEKTE SECTION ─────────────────────────────────── */
.projekte-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.projekte-text {
  font-size: 1rem;
  color: var(--t-muted-dark);
  max-width: 54ch;
  text-align: center;
}

/* Project cards grid */
.projekt-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.projekt-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(77, 100, 141, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition:
    transform 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth),
    background-color 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth);
}

.projekt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 100, 141, 0.65);
  background-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.3);
}

.projekt-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}

.projekt-card-icon svg {
  width: 100%;
  height: 100%;
}

.projekt-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.projekt-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.1rem;
}

.projekt-card-text {
  font-size: 0.9rem;
  color: var(--t-muted-dark);
  line-height: 1.65;
  max-width: none;
  flex: 1;
}

.projekt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-accent);
  text-decoration: none;
  transition: gap 0.2s var(--ease-smooth), opacity 0.2s;
}

.projekt-link:hover {
  gap: 0.65em;
  opacity: 0.85;
}

/* CTA block below cards */
.projekte-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid rgba(77, 100, 141, 0.2);
  padding-top: 2.5rem;
  text-align: center;
}

.inline-link {
  color: var(--c-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.inline-link:hover {
  color: var(--c-accent);
}

/* ── 11. ÜBER UNS ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--t-on-light);
}

.about-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--t-muted-light);
}

.about-lead {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: var(--t-on-light) !important;
}

.about-team {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-shrink: 0;
}

.team-name-chip {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-white);
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-mid) 100%);
  padding: 0.6em 1.2em;
  border-radius: 8px;
  text-align: center;
  min-width: 110px;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s;
}

.team-name-chip:hover {
  transform: translateX(-4px);
  box-shadow: 4px 0 16px rgba(77, 100, 141, 0.3);
}

/* ── 12. KONTAKT ──────────────────────────────────────────── */
.kontakt-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

.kontakt-inner .section-title {
  color: var(--c-white);
}

.kontakt-sub {
  font-size: 1.05rem;
  color: var(--t-muted-dark);
  max-width: none;
}

.kontakt-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.kontakt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(29, 40, 71, 0.8);
  border: 1px solid rgba(77, 100, 141, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.5rem;
  min-width: 200px;
  color: var(--t-on-dark);
  text-decoration: none;
  transition:
    border-color 0.2s var(--ease-smooth),
    background-color 0.2s var(--ease-smooth),
    transform 0.2s var(--ease-smooth),
    box-shadow 0.2s var(--ease-smooth);
}

.kontakt-card:hover {
  border-color: var(--c-accent);
  background-color: rgba(213, 84, 72, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(213, 84, 72, 0.2);
}

.kontakt-icon {
  width: 36px;
  height: 36px;
  color: var(--c-accent);
}

.kontakt-icon svg {
  width: 100%;
  height: 100%;
}

.kontakt-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t-muted-dark);
}

.kontakt-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-white);
}

/* ── 13. FOOTER ───────────────────────────────────────────── */
.site-footer {
  background-color: var(--c-darker);
  color: var(--t-muted-dark);
  border-top: 1px solid rgba(77, 100, 141, 0.2);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem 3rem;
  padding-block: 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  font-size: 1.4rem;
  display: inline-block;
  transition: opacity 0.2s;
}

.footer-logo:hover { opacity: 0.8; }

.footer-address {
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--t-muted-dark);
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--t-muted-dark);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--c-white);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--t-muted-dark);
  transition: color 0.2s;
}

.footer-contact-link:hover {
  color: var(--c-light);
}

.footer-bottom {
  border-top: 1px solid rgba(77, 100, 141, 0.15);
  padding-block: 1rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: center;
}

.footer-bottom small {
  font-size: 0.78rem;
  color: var(--t-muted-dark);
  opacity: 0.65;
}

.footer-bottom a {
  color: var(--t-muted-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--c-light);
}

/* ── 14. REVEAL ANIMATIONS ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease-smooth),
    transform 0.6s var(--ease-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.cards-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.cards-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.cards-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.cards-grid .reveal:nth-child(5) { transition-delay: 0.1s; }
.cards-grid .reveal:nth-child(6) { transition-delay: 0.2s; }

/* ── 15. FOCUS VISIBLE ────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 16. IMPRESSUM / STATIC PAGES ────────────────────────── */
.page-content {
  padding-top: calc(64px + 3rem);
  padding-bottom: var(--section-py);
  background-color: var(--c-white);
  color: var(--t-on-light);
  min-height: 80vh;
}

.page-content .container {
  max-width: 760px;
}

.prose h1 { margin-bottom: 1.5rem; color: var(--t-on-light); }
.prose h2 {
  font-size: 1.25rem;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--t-on-light);
}
.prose h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--t-on-light);
}
.prose p {
  font-size: 0.95rem;
  color: var(--t-muted-light);
  margin-bottom: 0.9rem;
  max-width: none;
}
.prose hr {
  border: none;
  border-top: 1px solid rgba(77, 100, 141, 0.2);
  margin-block: 2rem;
}
.prose a {
  color: var(--c-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--c-accent); }
.prose strong { color: var(--t-on-light); }

/* ── 17. RESPONSIVE ───────────────────────────────────────── */

/* Large screens */
@media (min-width: 1024px) {
  .hero-content {
    gap: 4rem;
  }
}

/* Medium – tablet (≤900px): collapse nav to burger + stack hero */
@media (max-width: 900px) {
  /* ── Nav: show burger, collapse to full-screen overlay ── */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: 64px 0 0 0;
    z-index: 999;
    background-color: rgba(20, 28, 48, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-smooth);
  }

  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-menu a {
    font-size: 1.25rem;
    padding: 0.6em 1.5em;
  }

  /* ── Hero: single column ── */
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero-sub { max-width: none; }

  .hero-bullets {
    align-items: flex-start;
    width: 100%;
    max-width: 400px;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

  .about-team {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-contact {
    align-items: flex-start;
    grid-column: 1 / -1;
  }
}

/* Small – mobile (≤640px): tighten spacing + layout */
@media (max-width: 640px) {
  :root {
    --section-py: 3.5rem;
  }

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

  .hero {
    min-height: auto;
    padding-block: 5rem 3rem;
  }

  .hero-content {
    padding-block: 2rem;
  }

  .kontakt-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .kontakt-card {
    min-width: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-contact {
    align-items: center;
    grid-column: auto;
  }

  .footer-brand {
    align-items: center;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* ── 18. NAV ASN LINK ─────────────────────────────────────── */
.nav-asn {
  font-family: 'Source Code Pro', 'Fira Code', 'Courier New', monospace !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  color: var(--c-light) !important;
  border: 1px solid rgba(208, 225, 249, 0.28);
  border-radius: 6px;
  /* Match nav-cta height: same vertical padding */
  padding: 0.45em 1.0em !important;
}

.nav-asn:hover,
.nav-asn:focus-visible {
  background-color: rgba(208, 225, 249, 0.1) !important;
  border-color: rgba(208, 225, 249, 0.5) !important;
  color: var(--c-white) !important;
}

.nav-asn[aria-current="page"] {
  background-color: rgba(208, 225, 249, 0.12);
  border-color: rgba(208, 225, 249, 0.4);
}

/* ── 19. PROJEKT CARD STAGGER ────────────────────────────── */
.projekt-cards .reveal:nth-child(2) { transition-delay: 0.1s; }
.projekt-cards .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ── 20. ASN PAGE HERO ────────────────────────────────────── */
.asn-hero {
  position: relative;
  padding-top: calc(64px + 4rem);
  padding-bottom: 5rem;
  overflow: hidden;
  background-color: var(--c-darker);
}

.asn-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 80% at 50% 60%, rgba(77, 100, 141, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(213, 84, 72, 0.06) 0%, transparent 60%);
}

/* Animated dot grid */
.asn-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(208, 225, 249, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.asn-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 760px;
}

.asn-hero h1 {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--c-white);
}

.asn-number-display {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.03em;
  color: var(--c-white);
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  line-height: 1;
}

.asn-as {
  color: var(--c-accent);
  font-size: 0.55em;
  font-weight: 800;
  letter-spacing: 0.05em;
  vertical-align: super;
  font-size: clamp(1.2rem, 3vw, 2rem);
}

.asn-hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--t-muted-dark);
  max-width: 56ch;
  line-height: 1.7;
}

/* ── 21. ASN TECH SECTION ────────────────────────────────── */
.asn-tech-section {
  /* Light section, already handled by .section-light */
}

.tech-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tech-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: var(--c-dark);
  border: 1px solid rgba(77, 100, 141, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--t-on-dark);
  transition:
    transform 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth),
    border-color 0.25s var(--ease-smooth);
}

.tech-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(20, 28, 48, 0.4);
  border-color: rgba(77, 100, 141, 0.6);
}

.tech-block-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.tech-block-icon svg {
  width: 100%;
  height: 100%;
}

/* ASN number badge inside block */
.tech-block-asn-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.1em;
  background: rgba(213, 84, 72, 0.12);
  border: 1px solid rgba(213, 84, 72, 0.3);
  border-radius: 6px;
  padding: 0.3em 0.8em;
  font-family: 'Source Code Pro', 'Fira Code', 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
  align-self: flex-start;
}

.asn-tag-prefix {
  color: var(--c-accent);
  font-size: 0.8em;
  letter-spacing: 0.08em;
}

.tech-block-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 0.85rem;
}

.tech-block-text {
  font-size: 0.92rem;
  color: var(--t-muted-dark);
  line-height: 1.68;
  max-width: none;
  margin-bottom: 0.6rem;
}

.tech-block-text:last-of-type {
  margin-bottom: 1rem;
}

.tech-block-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-accent);
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s var(--ease-smooth), opacity 0.2s;
}

.tech-block-link:hover {
  gap: 0.7em;
  opacity: 0.85;
}

/* Technology tags */
.tech-block-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.tech-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3em 0.7em;
  border-radius: 4px;
  background: rgba(77, 100, 141, 0.25);
  border: 1px solid rgba(77, 100, 141, 0.35);
  color: var(--c-light);
}

.tech-tag-accent {
  background: rgba(213, 84, 72, 0.15);
  border-color: rgba(213, 84, 72, 0.3);
  color: #f0a09a;
}

/* ── 22. CONNECTIVITY MAP ────────────────────────────────── */
.asn-map-section {
  /* Dark section */
}

.connectivity-card {
  background-color: var(--c-white);
  border: 1px solid rgba(77, 100, 141, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(77, 100, 141, 0.15);
  margin-bottom: 2.5rem;
}

.connectivity-card-inner {
  width: 100%;
  overflow: hidden;
  background-color: var(--c-white);
  line-height: 0; /* remove inline img gap */
}

.connectivity-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 520px;
}

.connectivity-caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  background-color: var(--c-white);
  border-top: 1px solid rgba(77, 100, 141, 0.15);
  font-size: 0.82rem;
  color: var(--t-muted-light);
}

.connectivity-caption a {
  color: var(--c-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.connectivity-caption a:hover {
  color: var(--c-accent);
}

.connectivity-caption svg {
  flex-shrink: 0;
  color: var(--c-mid);
  opacity: 0.6;
}

.asn-cta-row {
  display: flex;
  justify-content: center;
}

/* ── 23. RESPONSIVE – ASN PAGE ───────────────────────────── */
@media (max-width: 700px) {
  .tech-blocks {
    grid-template-columns: 1fr;
  }

  .asn-hero-content {
    align-items: center;
    text-align: center;
  }

  .asn-hero h1 {
    align-items: center;
  }

  .asn-hero-sub {
    max-width: none;
  }

  .tech-block-asn-tag {
    align-self: center;
  }

  .connectivity-img {
    max-height: 260px;
    object-fit: cover;
  }

  .projekt-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .asn-number-display {
    font-size: 2.2rem;
  }
}

/* ── 24. HERO TOPOLOGY ────────────────────────────────────── */
.hero-topology {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-topo-svg {
  width: 100%;
  height: 100%;
}

/* ── 25. TEAM PORTRAITS ───────────────────────────────────── */

/* Override about-text to be full-width centered when outside about-grid */
#ueber-uns .about-text {
  max-width: 72ch;
  margin-inline: auto;
}

.team-portraits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem 2rem;
  margin-top: 3.5rem;
}

.portrait-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: default;
  position: relative;
}

/* Ring border created via padding + background gradient */
.portrait-ring {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  padding: 3px;
  background: rgba(77, 100, 141, 0.35);
  box-shadow:
    0 0 0 1px rgba(77, 100, 141, 0.18),
    0 4px 20px rgba(40, 54, 85, 0.12);
  transition:
    background 0.35s var(--ease-smooth),
    box-shadow  0.35s var(--ease-smooth),
    transform   0.35s var(--ease-smooth);
  animation: floatPortrait var(--p-dur, 5s) ease-in-out infinite;
  animation-delay: var(--p-delay, 0s);
}

.portrait-wrap:hover .portrait-ring {
  background: linear-gradient(135deg, var(--c-mid) 0%, var(--c-accent) 100%);
  box-shadow:
    0 0 0 2px rgba(213, 84, 72, 0.22),
    0 10px 36px rgba(213, 84, 72, 0.22),
    0 18px 52px rgba(40, 54, 85, 0.18);
  animation-play-state: paused;
  transform: translateY(-8px);
}

.portrait-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.portrait-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--t-on-light);
  letter-spacing: -0.01em;
  margin-top: 0.1rem;
  transition: color 0.2s;
}

.portrait-role {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--t-muted-light);
  text-align: center;
  max-width: 14ch;
  line-height: 1.3;
}

/* Tags always visible */
.portrait-tags {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 160px;
  margin-top: 0.5rem;
}

.portrait-wrap:hover .p-tag {
  border-color: rgba(208, 225, 249, 0.38);
  background: rgba(77, 100, 141, 0.18);
}

.p-tag {
  font-size: 0.68rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
  padding: 0.25em 0.6em;
  border-radius: 4px;
  background: rgba(77, 100, 141, 0.1);
  border: 1px solid rgba(77, 100, 141, 0.28);
  color: var(--c-mid);
  overflow-wrap: break-word;
  text-align: center;
}

/* Floating animation for portraits */
@keyframes floatPortrait {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── 26. RESPONSIVE – PORTRAITS & TOPOLOGY ───────────────── */
@media (max-width: 700px) {
  .portrait-ring {
    width: 110px;
    height: 110px;
  }

  .team-portraits {
    gap: 2rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .portrait-ring {
    width: 96px;
    height: 96px;
  }

  .team-portraits {
    gap: 1.75rem 1rem;
  }
}

/* Reduced motion: disable all topology + portrait animations */
@media (prefers-reduced-motion: reduce) {
  .hero-topology {
    display: none;
  }

  .portrait-ring {
    animation: none !important;
  }

  /* portrait-tags are always visible; no override needed */
}

/* ── 27. HERO PHOTO LAYER ────────────────────────────────── */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: 65% center;
  background-repeat: no-repeat;
  /* Heavy desaturation + darken so CI text stays readable */
  filter: saturate(0.45) brightness(0.52);
}

/* Gradient overlay: very dark on left (text side), opens toward flag on right */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(29, 40, 71, 0.97) 0%,
    rgba(29, 40, 71, 0.93) 28%,
    rgba(40, 54, 85, 0.75) 52%,
    rgba(40, 54, 85, 0.48) 72%,
    rgba(40, 54, 85, 0.28) 100%
  );
}

/* Ensure topology + hero content float above the photo */
.hero-photo ~ .hero-topology,
.hero-photo ~ .container.hero-content {
  z-index: 1;
}

/* ── 28. LEISTUNGEN PHOTO SECTION ────────────────────────── */
.leistungen-section {
  position: relative;
  overflow: hidden;
  color: var(--t-on-dark);
  background-color: var(--c-darker); /* fallback if image fails */
}

.leistungen-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  /* Lighter treatment — more photo visible */
  filter: saturate(0.55) brightness(0.48);
}

.leistungen-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 28, 48, 0.58) 0%,
    rgba(20, 28, 48, 0.34) 50%,
    rgba(20, 28, 48, 0.58) 100%
  );
}

.leistungen-section > .container {
  position: relative;
  z-index: 1;
}

.leistungen-section .section-title {
  color: var(--c-white);
}

.leistungen-section .section-sub {
  color: var(--t-muted-dark);
}

/* Semi-transparent service cards so photo bleeds through */
.leistungen-section .card {
  background-color: rgba(29, 40, 71, 0.55);
  border-color: rgba(77, 100, 141, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.leistungen-section .card:hover {
  background-color: rgba(29, 40, 71, 0.72);
  border-color: rgba(77, 100, 141, 0.75);
}

/* ── 29. LANGUAGE TOGGLE ─────────────────────────────────── */

/* Default: German visible, English hidden */
.en { display: none; }

/* English mode: swap visibility */
body.lang-en .de { display: none; }
body.lang-en .en { display: block; }
body.lang-en span.en { display: inline; } /* keep inline spans … inline */
body.lang-en li.en { display: list-item; }

/* Language toggle button (inside nav <ul>) */
.nav-lang-item {
  display: flex;
  align-items: center;
  padding-left: 0.4rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem; /* slightly larger so flag emoji are legible */
  font-weight: 700;
  letter-spacing: 0;  /* no letter-spacing for emoji */
  text-transform: none;
  background: transparent;
  border: 1px solid rgba(208, 225, 249, 0.28);
  border-radius: 5px;
  padding: 0.28em 0.6em;
  cursor: pointer;
  color: var(--c-light);
  transition: border-color 0.2s, background-color 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.lang-toggle:hover {
  border-color: rgba(208, 225, 249, 0.55);
  background-color: rgba(208, 225, 249, 0.08);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.lt-sep {
  opacity: 0.35;
  margin-inline: 0.2em;
}

/* Highlight active language */
body:not(.lang-en) .lt-de { color: var(--c-white); }
body:not(.lang-en) .lt-en { opacity: 0.4; }
body.lang-en .lt-en { color: var(--c-white); }
body.lang-en .lt-de { opacity: 0.4; }

/* Mobile: lang toggle inside full-screen nav overlay — larger touch target */
@media (max-width: 900px) {
  .lang-toggle {
    font-size: 1.3rem;
    padding: 0.45em 1rem;
    margin-top: 0.5rem;
  }
}

/* ── 30. VISITOR STATS SECTION ──────────────────────────── */
.visitor-section {
  background: linear-gradient(180deg, var(--c-dark-alt) 0%, var(--c-darker) 100%);
  color: var(--t-on-dark);
  padding-block: var(--section-py);
}

.visitor-stat-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.visitor-stat-card {
  background: rgba(77, 100, 141, 0.12);
  border: 1px solid rgba(208, 225, 249, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  min-width: 160px;
  text-align: center;
}

.visitor-stat-card .stat-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--c-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.visitor-stat-card .stat-label {
  font-size: 0.78rem;
  color: var(--t-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.visitor-tf-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.vtf-btn {
  background: transparent;
  border: 1px solid rgba(208, 225, 249, 0.2);
  color: var(--t-muted-dark);
  border-radius: 20px;
  padding: 0.35em 1rem;
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}

.vtf-btn:hover,
.vtf-btn.active {
  background: rgba(77, 100, 141, 0.25);
  border-color: var(--c-mid);
  color: var(--c-light);
}

.visitor-chart-wrap {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  height: 220px;
}

.visitor-no-data {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--t-muted-dark);
  font-size: 0.9rem;
}

.visitor-no-data p {
  max-width: 40ch;
  margin-inline: auto;
}

/* ── 31. COOKIE BANNER ──────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0b1120;
  border-top: 1px solid rgba(208, 225, 249, 0.12);
  padding: 1rem 1.5rem;
  z-index: 9900;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  animation: slideUpBanner 0.35s var(--ease-smooth);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-text {
  flex: 1 1 260px;
  font-size: 0.85rem;
  color: var(--t-muted-dark);
}

.cookie-banner-text a {
  color: var(--c-light);
  text-decoration: underline;
}

.cookie-banner-btns {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.45em 1.2em;
  border-radius: 6px;
  font-size: 0.83rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s;
}

.cookie-btn:hover { opacity: 0.82; }

.cookie-btn-accept {
  background: var(--c-mid);
  color: var(--c-white);
}

.cookie-btn-decline {
  background: transparent;
  border: 1px solid rgba(208, 225, 249, 0.22);
  color: var(--t-muted-dark);
}

@keyframes slideUpBanner {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
