/* AustroJob International - Red & Black Theme */

/* Self-hosted Inter (DSGVO-compliant, no external requests) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #C8102E;
  --red-dark: #a00d25;
  --black: #111111;
  --white: #FFFFFF;
  --gray-bg: #F9F9F9;
  --gray-border: #E8E8E8;
  --gray-text: #555;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-bg);
  background-image: url('/assets/jobsbg.avif');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Black glass overlay for readability */
.hero-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

/* Fallback when AVIF is not supported: keep original gradient look */
@supports not (background-image: url('/assets/jobsbg.avif')) {
  .hero {
    background-image: none;
  }

  .hero-bg {
    background: linear-gradient(135deg, var(--red) 0%, var(--black) 50%, transparent 70%);
    opacity: 0.15;
    backdrop-filter: none;
    animation: heroPulse 8s ease-in-out infinite;
  }

  .hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--red);
    transform: rotate(-15deg);
    opacity: 0.08;
  }

  .hero .hero-title { color: var(--black); }
  .hero .hero-subtitle { color: var(--gray-text); }

  .hero .btn-outline {
    border-color: var(--black);
    color: var(--black);
  }

  .hero .btn-outline:hover {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
  }
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.18; }
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.9);
  color: rgba(255, 255, 255, 0.9);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Intro strip */
.intro-strip {
  background: var(--black);
  color: var(--white);
  padding: 3rem 0;
}

.intro-strip::before {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--red);
  margin: 0 auto 1.5rem;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--gray-bg);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--black);
}

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

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 3px solid transparent;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--red);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.card p {
  color: var(--gray-text);
  font-size: 0.95rem;
}

/* Warum section */
.warum-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--black) 100%);
  padding: 5rem 0;
}

.warum-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
}

.warum-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.1rem;
}

.warum-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
  background: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

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

.job-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.job-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 0.25rem;
}

.job-card .btn {
  margin-top: 1rem;
}

/* Form */
.apply-form,
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-submit {
  margin-top: 1.5rem;
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
}

.form-message.hidden {
  display: none;
}

/* Über uns */
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 80px;
  gap: 3rem;
  align-items: start;
}

.ueber-text p {
  margin-bottom: 1rem;
  color: var(--gray-text);
  font-size: 1.05rem;
}

.ueber-accent {
  height: 200px;
  background: var(--red);
  border-radius: 8px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--gray-text);
  margin-bottom: 0.25rem;
}

.team-card a {
  color: var(--red);
  text-decoration: none;
}

.team-card a:hover {
  text-decoration: underline;
}

/* Partner */
.partner-text {
  text-align: center;
  color: var(--gray-text);
  margin-bottom: 2rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--gray-border);
  min-height: 70px;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.partner-logo img {
  max-height: 50px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Kontakt */
.kontakt-intro {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--gray-text);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.kontakt-info p {
  margin-bottom: 0.75rem;
  color: var(--gray-text);
}

.kontakt-info a {
  color: var(--red);
  text-decoration: none;
}

.kontakt-info a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-address p {
  font-size: 0.85rem;
  opacity: 0.55;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.45;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-reg {
  font-size: 0.8rem;
  opacity: 0.45;
  line-height: 1.8;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.copyright {
  opacity: 0.45;
  font-size: 0.8rem;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal Pages */
.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  color: var(--primary);
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--gray);
}

.legal-content a {
  color: var(--primary);
}

.legal-copyright {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Hero Small (for subpages) */
.hero-small {
  min-height: 40vh;
  padding-top: 80px;
}

.hero-small .hero-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.hero-small .hero-subtitle {
  margin-bottom: 0;
}

/* Jobs More Button */
.jobs-more {
  text-align: center;
  margin-top: 3rem;
}

/* CTA Strip */
.cta-strip {
  background: var(--red);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-content .btn {
  background: var(--white);
  color: var(--red);
}

.cta-content .btn:hover {
  background: var(--black);
  color: var(--white);
}

.cta-content .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.cta-content .btn-outline:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}

/* Contact Page Specifics */
.location-block {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-border);
}

.location-block h4 {
  color: var(--red);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-details p {
  margin-bottom: 0.5rem;
}

.legal-info {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--gray-text);
  border-top: 1px solid var(--gray-border);
  padding-top: 1rem;
}

.map-section {
  margin-top: 4rem;
}

.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.map-container h3 {
  margin-bottom: 0.5rem;
  color: var(--black);
}

.map-container p {
  margin-bottom: 1rem;
  color: var(--gray-text);
  font-size: 0.9rem;
}

.map-container iframe {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Active Nav Link */
.nav-links a.active {
  color: var(--red);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links:not(.open) {
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .ueber-accent {
    height: 8px;
    width: 80px;
  }

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

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

  .hero-cta {
    flex-direction: column;
  }
}

/* ── Impressum Location Cards ──────────────────────────────────────────────── */

.impressum-locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.impressum-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 2rem;
  border-top: 4px solid var(--red);
}

.impressum-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--black);
}

.impressum-card p {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.impressum-card a {
  color: var(--red);
  text-decoration: none;
}

.impressum-card a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .impressum-locations {
    grid-template-columns: 1fr;
  }
}

/* ── Section Subtitle ─────────────────────────────────────────────────────── */

.section-subtitle {
  max-width: 800px;
  margin: -1.5rem auto 3rem;
  text-align: center;
  color: var(--gray-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Anspruch Text (dark section) ─────────────────────────────────────────── */

.anspruch-text {
  max-width: 700px;
  margin: 0 auto 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ── Vorteile List (for Bewerber section) ─────────────────────────────────── */

.vorteile-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1.5rem;
}

.vorteile-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-text);
  font-size: 1.05rem;
}

.vorteile-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ── Gallery ───────────────────────────────────────────────────────────────── */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}

/* ── Lightbox ──────────────────────────────────────────────────────────────── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-inner {
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 6px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.lightbox-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  line-height: 1;
  transition: background 0.2s;
  z-index: 1001;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ── Cookie Consent Banner ─────────────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(17, 17, 17, 0.97);
  color: #eee;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-banner p {
  margin: 0;
  max-width: 640px;
}

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

.cookie-banner-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner-buttons button {
  padding: 0.6rem 1.25rem;
  border: none;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: var(--red);
  color: #fff;
}
.cookie-btn-accept:hover {
  background: var(--red-dark);
}

.cookie-btn-essential {
  background: transparent;
  color: #ccc;
  border: 1px solid #555 !important;
}
.cookie-btn-essential:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cookie-settings-link {
  cursor: pointer;
  color: var(--gray-text);
  font-size: 0.82rem;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
}
.cookie-settings-link:hover {
  color: var(--red);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    gap: 1rem;
  }
  .cookie-banner-buttons {
    width: 100%;
    flex-direction: column;
  }
  .cookie-banner-buttons button {
    width: 100%;
  }
}

/* ── Map Consent Placeholder ───────────────────────────────────────────────── */

.map-consent-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--gray-bg);
  border: 2px dashed var(--gray-border);
  border-radius: 8px;
  min-height: 350px;
  text-align: center;
  padding: 2rem;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.map-consent-placeholder button {
  padding: 0.6rem 1.5rem;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.map-consent-placeholder button:hover {
  background: var(--red-dark);
}

/* ── Form Consent Checkbox ─────────────────────────────────────────────────── */

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 1rem 0;
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.form-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
}

.form-consent label {
  cursor: pointer;
}

.form-consent a {
  color: var(--red);
  text-decoration: underline;
}

/* ── Portfolio: Timeline ───────────────────────────────────────────────────── */

.portfolio-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2rem;
}

.portfolio-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gray-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  width: 17px;
  height: 17px;
  background: var(--red);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--red);
  z-index: 1;
}

.timeline-content {
  background: var(--white);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-left: 3px solid var(--red);
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.timeline-year {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.timeline-content p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

.timeline-content img {
  width: 100%;
  border-radius: 8px;
  margin-top: 0.5rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ── Portfolio: Services Intro Image ───────────────────────────────────────── */

.portfolio-services-intro {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.portfolio-services-intro img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.portfolio-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portfolio-service-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.portfolio-service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

/* ── Portfolio: International Projects ─────────────────────────────────────── */

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

.project-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--red);
}

.project-flag {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.project-flag-img {
  display: block;
  width: 80px;
  height: auto;
  margin: 0 auto 0.75rem;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.project-name {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.project-location {
  color: var(--gray-text);
  font-size: 0.85rem;
}

/* ── Portfolio: Outlook ────────────────────────────────────────────────────── */

.outlook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.outlook-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.3s;
}

.outlook-step:hover {
  background: rgba(255, 255, 255, 0.14);
}

.outlook-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.outlook-step h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.outlook-step p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Portfolio: Team Photos ────────────────────────────────────────────────── */

.team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* ── FAQ Section ──────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
  padding: 0;
}

.faq-question {
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--red);
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--red);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding: 0 0 1.25rem;
  color: var(--gray-text);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--red);
  text-decoration: underline;
}

/* ── Portfolio: Responsive ─────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .outlook-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .project-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
  }

  .portfolio-timeline {
    padding-left: 1.5rem;
  }
}
