/* ============================================================
   Evosys Laser Services — Static Site Stylesheet
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --primary:     #003a70;
  --primary-dk:  #002851;
  --accent:      #1a73a8;
  --bg:          #ffffff;
  --bg-soft:     #f4f6f8;
  --bg-band:     #e9eef3;
  --text:        #1c2733;
  --text-muted:  #5b6775;
  --border:      #dfe4ea;
  --radius:      6px;
  --radius-lg:   12px;
  --maxw:        1200px;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.4rem; }

/* --- Layout helpers --------------------------------------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 3.5rem 0; }
section[id] { scroll-margin-top: 80px; }

/* --- Header ----------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.logo { order: 1; }
.logo img { max-height: 44px; display: block; }
.logo-img-light { display: none; }

.nav { order: 2; display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav a:hover,
.nav a.active { color: var(--primary); border-bottom-color: var(--primary); text-decoration: none; }
body.has-hero .site-header:not(.scrolled) .nav a.active { color: #fff; border-bottom-color: #fff; }

.header-right { order: 3; display: flex; align-items: center; gap: 1rem; }
/* Flag language switcher */
.lang-switcher { position: relative; }

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  width: 42px;
  height: 42px;
  min-height: 42px;
  line-height: 1;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}
.lang-btn:hover { background: rgba(255,255,255,0.30); }
body.has-hero .site-header.scrolled .lang-btn,
body:not(.has-hero) .lang-btn {
  background: rgba(0,58,112,0.08);
  border-color: rgba(0,58,112,0.25);
}
.lang-flag {
  font-size: 1.45rem;
  line-height: 1;
  display: block;
  margin-top: 1px; /* optical vertical correction for emoji */
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,58,112,0.18);
  min-width: 160px;
  z-index: 1100;
  overflow: hidden;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.2rem;
  color: var(--text);
  font-size: 0.9rem;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s, padding-left 0.15s;
  min-height: 48px;
}
.lang-option:hover {
  background: var(--bg-alt);
  border-left-color: var(--accent);
  padding-left: 1.5rem;
  text-decoration: none;
}
.lang-option.active { color: var(--primary); font-weight: 700; }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.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; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  /* Logo spacing from left edge */
  .site-header .container { padding-left: 1.25rem; padding-right: 1rem; }

  .nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    z-index: 999;
    flex-direction: column;
    padding: 0.5rem 1.5rem 1.5rem;
    gap: 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  }
  .nav.nav-open { display: flex; }

  /* Dark overlay behind the open menu */
  body.nav-is-open::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }

  .nav a {
    width: 100%;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border) !important;
    border-left: none;
    font-size: 1.05rem;
    color: var(--text) !important;
  }
  .nav a:last-child { border-bottom: none !important; }
  .nav a:hover { color: var(--primary) !important; }

  /* Hero banner on mobile: show right side where subject is */
  .page-hero { background-position: right center; }

  /* Homepage hero padding */
  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero h1 { font-size: 1.7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-feature { margin-top: 1.5rem; }
}

/* Header transparent-to-solid on scroll (homepage) */
body.has-hero .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom-color: transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
body.has-hero .site-header .nav a,
body.has-hero .site-header .lang a { color: #fff; }
body.has-hero .site-header .nav a:hover { color: #fff; border-bottom-color: #fff; }
body.has-hero .logo-img-light { display: block; }
body.has-hero .logo-img-dark  { display: none; }

body.has-hero .site-header.scrolled {
  background: #fff;
  border-bottom-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
body.has-hero .site-header.scrolled .nav a,
body.has-hero .site-header.scrolled .lang a { color: var(--text); }
body.has-hero .site-header.scrolled .nav a:hover { color: var(--primary); border-bottom-color: var(--primary); }
body.has-hero .site-header.scrolled .logo-img-light { display: none; }
body.has-hero .site-header.scrolled .logo-img-dark  { display: block; }
body.has-hero .nav-toggle span { background: #fff; }
body.has-hero .site-header.scrolled .nav-toggle span { background: var(--text); }

/* --- Homepage hero ---------------------------------------- */
.hero {
  background:
    linear-gradient(135deg, rgba(0,40,81,0.62), rgba(0,40,81,0.32)),
    url('/assets/img/wp/hero-home.jpg') center/cover no-repeat;
  color: #fff;
  padding: 10rem 0 7rem;
  min-height: 88vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-eyebrow {
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  color: #fff;
  line-height: 1.18;
  font-weight: 700;
}
.hero > .container > .hero-grid > div:first-child p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 0 1.6rem;
}
.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* Hero feature card (white aside) */
.hero-feature {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  box-shadow: -4px 0 0 0 var(--primary), 0 10px 30px rgba(0,0,0,0.15);
}
.hero-feature-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.04em;
}
.hero-feature h3 { color: var(--primary); margin: 0 0 0.5rem; font-size: 1.1rem; }
.hero-feature p  { color: var(--text-muted); margin: 0 0 1rem; font-size: 0.92rem; }
.hero-feature a  { font-weight: 600; font-size: 0.9rem; color: var(--accent); }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s;
}
.btn:hover { background: var(--primary-dk); color: #fff; text-decoration: none; }
.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.7);
}
.btn.ghost:hover { background: rgba(255,255,255,0.15); }

/* --- Section headings ------------------------------------- */
.section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  color: var(--primary);
  font-size: 1.8rem;
}
.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

/* --- Homepage service cards ------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
a.card {
  display: block;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
}
a.card:hover {
  box-shadow: 0 8px 28px rgba(0,58,112,0.12);
  transform: translateY(-3px);
  border-color: var(--accent);
  text-decoration: none;
}
.card .icon {
  width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.card .icon img { width: 80px; height: 80px; object-fit: contain; }
.card h3 { margin: 0 0 0.6rem; color: var(--primary); font-size: 1.15rem; }
.card p  { margin: 0 0 1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.card-arrow { display: block; color: var(--accent); font-weight: 600; font-size: 1rem; }

/* --- Highlight band --------------------------------------- */
.band {
  background: var(--primary);
  color: #fff;
  padding: 3rem 0;
}
/* .band-content uses .container for width — no override needed */
.band h2 { margin: 0 0 1rem; font-size: 1.7rem; }
.band p  { margin: 0; opacity: 0.9; font-size: 1rem; line-height: 1.7; max-width: 860px; }
.band a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.band a:hover { color: #fff; }

/* --- Slim subpage hero banner ----------------------------- */
.page-hero {
  background-size: cover;
  background-position: center;
  padding: 7rem 0 3rem;
}
.page-hero h1 {
  color: #fff;
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.4);
}
.crumb-light { color: rgba(255,255,255,0.88); font-size: 0.85rem; margin-bottom: 0.5rem; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.crumb-light a { color: rgba(255,255,255,0.9); }
.crumb-light a:hover { color: #fff; text-decoration: none; }

/* --- Structured subpage sections -------------------------- */
.content-section { padding: 3rem 0; border-bottom: 1px solid var(--border); }
.content-section:last-child { border-bottom: none; }
.content-section.alt { background: var(--bg-soft); }

.section-eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}
.section-two-col-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 800px) {
  .section-two-col-equal { grid-template-columns: 1fr; }
}

.section-two-col {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2.5rem;
  align-items: stretch;
}
.content-section.alt .section-two-col { direction: rtl; }
.content-section.alt .section-two-col > * { direction: ltr; }
@media (max-width: 800px) {
  .section-two-col { grid-template-columns: 1fr; direction: ltr !important; }
  .content-section.alt .section-two-col { direction: ltr; }
}
.section-text h2 { color: var(--primary); margin-top: 0; font-size: 1.6rem; }
.section-text h3 { color: var(--primary); margin-top: 1.2rem; font-size: 1.15rem; }
.section-text p, .section-text li { color: var(--text-muted); }

/* Neutralise WP Stackable plugin highlight spans */
.stk-highlight { color: inherit !important; background: none !important; }

.section-img {
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,58,112,0.13);
  overflow: hidden;
  align-self: start;
  aspect-ratio: 1/1;
  max-height: 380px;
}
.section-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* --- Module card grid (service modules) ------------------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: start;
}
.module-card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,58,112,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.module-card:hover { box-shadow: 0 8px 28px rgba(0,58,112,0.13); transform: translateY(-2px); }

.module-card-img {
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.module-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.module-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.module-card-body { padding: 1rem 1.4rem 1.25rem; }
.module-card-body h3 { color: var(--primary); margin: 0 0 0.5rem; font-size: 1.05rem; }
.module-card-body p  { color: var(--text-muted); margin: 0; font-size: 0.92rem; line-height: 1.5; }

/* --- Service module tables -------------------------------- */
.module-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  background: #fff;
  flex: 1;
}
.module-table tbody { height: 100%; }
.module-table tbody tr { height: 1%; }
.module-table thead th {
  background: var(--primary);
  color: #fff;
  padding: 0.55rem 0.7rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.module-table thead th:last-child { text-align: center; }
.module-table tbody tr { border-bottom: 1px solid var(--border); }
.module-table tbody tr:nth-child(even) { background: #f4f6f8; }
.module-table tbody td {
  padding: 0.45rem 0.7rem;
  color: var(--text);
  vertical-align: top;
  line-height: 1.35;
  background: transparent;
}
.module-table tbody td small {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-top: 0.1rem;
}
.module-table tbody td.td-check {
  text-align: center;
  color: #1a8a3c;
  font-size: 1rem;
  font-weight: 700;
  padding-right: 0.5rem;
}
@media (max-width: 600px) {
  .module-table { font-size: 0.74rem; }
}

/* --- Contact section two-column layout ------------------- */
.contact-section { background: var(--bg-soft); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: stretch;
}
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}
.contact-info-col {
  display: flex;
  flex-direction: column;
}
.contact-info-h {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 0 0.75rem;
}
.contact-lead { color: var(--text-muted); margin: 0 0 1.5rem; font-size: 0.95rem; }
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.contact-details li:first-child { align-items: flex-start; }
.contact-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
}
.contact-icon svg {
  width: 1rem;
  height: 1rem;
  stroke: #fff;
}
.contact-details a { color: var(--accent); }
.contact-details a:hover { color: var(--primary); }
.contact-map {
  flex: 1;
  min-height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.contact-map iframe {
  width: 100%;
  flex: 1;
  display: block;
  border: none;
  min-height: 160px;
  filter: grayscale(0.55) hue-rotate(185deg) saturate(0.65) brightness(1.05);
}
.map-link {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  background: #fff;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.map-link:hover { color: var(--primary); text-decoration: none; }
.contact-form-col {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 2px 16px rgba(0,58,112,0.08);
  display: flex;
  flex-direction: column;
}
.contact-form { max-width: none; flex: 1; display: flex; flex-direction: column; }
.contact-form .form-grid { flex: 1; }
.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.25rem;
}
.form-field { display: flex; flex-direction: column; }
.form-field-full { grid-column: 1 / -1; }
.form-field > label:not(.consent-label) { font-size: 0.85rem; font-weight: 600; color: var(--text); display: block; margin-bottom: 0.3rem; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 0 0.9rem;
  height: 2.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); }
.form-field textarea { height: auto; min-height: 140px; resize: vertical; padding: 0.7rem 0.9rem; }
.consent-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1.5;
}
.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--primary);
  cursor: pointer;
}
.form-status { margin: 0.75rem 0; font-size: 0.9rem; padding: 0.6rem 0.9rem; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #e6f4ea; color: #1e5631; }
.form-status.err { display: block; background: #fdecea; color: #8b1a1a; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* --- Footer ----------------------------------------------- */
.site-footer {
  background: #0e1a26;
  color: #b9c4d0;
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 0.8rem; }
.site-footer a { color: #b9c4d0; }
.site-footer a:hover { color: #fff; }
.site-footer .legal {
  border-top: 1px solid #1f2d3b;
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #7a8794;
}
.site-footer .legal a { color: #7a8794; margin-right: 1rem; }

/* --- Team section ----------------------------------------- */
.team-section { background: var(--bg-alt); }
.team-section h2 { margin-bottom: 0.5rem; }
.team-section .section-lead { color: var(--text-muted); margin-bottom: 2.5rem; white-space: nowrap; }
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}
.team-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 1 220px;
}
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-alt);
  margin-bottom: 1.25rem;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.team-info { flex: 1; }
.team-info h3 { margin: 0 0 0.4rem; font-size: 1.3rem; font-weight: 700; }
.team-role { color: var(--primary); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; margin: 0 0 0.75rem; }
.team-contact { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 2; }
.team-contact a { color: var(--text-muted); }
.team-contact a:hover { color: var(--primary); }
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-photo { width: 130px; height: 130px; }
}

/* --- Karriere CTA ----------------------------------------- */
.karriere-cta { background: var(--bg-alt); border-bottom: none !important; text-align: center; }
.karriere-intro { font-size: 1.05rem; color: var(--text); margin: 0 0 2rem; }
.btn-karriere { font-size: 1rem; padding: 0.9rem 2.5rem; border-radius: 999px; }

/* --- Cookie consent banner -------------------------------- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #0e1a26;
  color: #d8e3ed;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.25);
  font-size: 0.88rem;
  line-height: 1.5;
}
#cookie-banner p { margin: 0; flex: 1 1 300px; }
#cookie-banner p a { color: #7eb8e8; }
#cookie-banner .cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
#cookie-banner .btn-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
#cookie-banner .btn-accept:hover { background: var(--primary); }
#cookie-banner .btn-decline {
  background: transparent;
  color: #7eb8e8;
  border: 1px solid #7eb8e8;
  border-radius: var(--radius);
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
  cursor: pointer;
}
#cookie-banner .btn-decline:hover { color: #fff; border-color: #fff; }
@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; }
  #cookie-banner .cookie-btns { width: 100%; }
}

/* Consent + Turnstile nebeneinander */
.consent-turnstile-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.consent-turnstile-row .consent-label { flex: 1; min-width: 200px; }
