:root{
  --brand-primary: #F7931A;
  --brand-primary-hover: #d67f18;
  --text-default: #333333;
  --text-hover: #222222;
  --bg-light: #FAFAFA;
  --muted: rgb(216,216,216);
  --white: #ffffff;
  --border: #eee;
}


/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-default);
  background-color: var(--bg-light);
}

/* Verhindert Layout-Sprengung durch lange Wörter in Überschriften */
h1, h2, h3 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* WRAPPER */
.wrapper {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 10px;
}
.wrapper-485 {
  max-width: 485px;
  margin: 0 auto;
  padding: 0;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 1000;
  border-bottom: 2px solid var(--border);
  transition: transform 0.3s ease, background 0.3s ease;
}

.header.hide {
  transform: translateY(-100%);
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 10px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* NAVIGATION */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-default);
  font-weight: 600;
  transition: color 0.18s ease;
}
.nav-links a:hover,
.nav-links a:focus {
  color: var(--brand-primary);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-default);
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* HERO */
.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 70px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75); /* leicht milchig */
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(8px);            /* DER Milchglas-Effekt */
    -webkit-backdrop-filter: blur(8px);    /* Safari */
}

.hero-content {
  position: relative;
  color: var(--text-default);
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
  min-width: 0; /* WICHTIG */
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.3rem;
}

/* SECTIONEN */
.section {
  padding: 80px 0 0;
}

/* ÜBERBLICK */
.overview {
  padding: 60px 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.overview-big {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand-primary);
}
.overview-right h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: var(--text-default);
}
.overview-right p {
  margin-bottom: 35px;
}
.overview-intro {
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.5;
}
.overview-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.point {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.point-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.point-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--text-default);
}
.point p {
  margin: 0;
  line-height: 1.4;
}

/* LEISTUNGEN - VOLLBREITE SEKTION */
.leistungen {
  background: var(--brand-primary);
  color: var(--white);
  padding: 60px 15px;
}
.leistungen .wrapper-485 {
  max-width: 485px;
  margin: 0 auto;
}
.leistungen-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 50px;
}
.leistungen-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.leistung-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}
.leistung-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.leistung-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--white);
}
.leistung-text {
  min-width: 0;
}
.leistung-text h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  color: var(--white);
}
.leistung-text p {
  margin: 0;
  line-height: 1.5;
  word-break: break-word;
}

/* Titel + Subline zentrieren */
.visa-title,
.visa-subline {
  text-align: center;
}

/* Liste zentrieren */
.country-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

/* VISA ZIEL */
.visa-ziel {
  padding: 60px 15px;
  border-bottom: 2px solid var(--text-default);
}
.visa-ziel .wrapper-485 {
  max-width: 485px;
  margin: 0 auto;
}

/* Kacheln */
.country-card {
  width: 100%;
  max-width: 485px;
  background: var(--muted);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.country-card:hover,
.country-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-color: var(--brand-primary);
}
.country-card img {
  width: 48px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 4px; /* leichte Abrundung */
  box-shadow:
    0 3px 6px rgba(0,0,0,0.25),   /* Hauptschatten */
    0 8px 16px rgba(0,0,0,0.18),  /* tieferer 3D-Schatten */
    0 0 2px rgba(0,0,0,0.12);     /* feiner Rand */
}

.visa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.visa-overlay.hidden {
  display: none;
}

.visa-overlay-content {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  position: relative;
}

.overlay-close {
  background: none;
  border: none;
  font-size: 2rem;
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  color: var(--text-default);
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.overlay-close:hover {
  opacity: 1;
  transform: scale(1.15);
}

 
.overlay-flag {
  width: 60px;
  display: block;
  margin: 0 auto 15px auto;
  border-radius: 4px; /* leichte Abrundung */
  box-shadow:
    0 3px 6px rgba(0,0,0,0.25),   /* Hauptschatten */
    0 8px 16px rgba(0,0,0,0.18),  /* tieferer 3D-Schatten */
    0 0 2px rgba(0,0,0,0.12);     /* feiner Rand */
}

#overlay-cta {
  margin-top: 25px;
  background: var(--brand-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

#overlay-cta:hover {
  background: var(--brand-primary-hover);
}



/* ÜBER MICH */
.about-me {
  padding: 40px 0;
}
.ueber-mich-bild {
  width: 100%;
  height: auto;
  border-radius: 10px;
  padding: 100px;
  background: var(--white);
}
.ueber-mich-list {
  list-style: disc;
  padding-left: 20px;
  line-height: 1.6;
  color: var(--text-default);
}

/* KONTAKT */
.kontakt {
  padding: 40px 15px;
  text-align: center;
}
.kontakt-title {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: var(--brand-primary);
}
.kontakt-subline {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-default);
}
.kontakt-info {
  line-height: 1.6;
  margin-bottom: 40px;
  color: var(--text-default);
}
.kontakt-form {
  max-width: 485px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.form-row {
  display: flex;
  gap: 15px;
}
.form-row input,
.form-row select,
.form-row textarea,
input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  background: var(--white);
  color: var(--text-default);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 14px rgba(247,147,26,0.18);
}

/* Fehlerzustände */
.input-error {
  border-color: var(--brand-primary) !important;
}
.error-message {
  color: var(--brand-primary);
  font-size: 0.85rem;
  margin-top: -10px;
  margin-bottom: 10px;
  text-align: left;
}
textarea {
  resize: vertical;
}
.char-count {
  font-size: 0.85rem;
  color: var(--text-default);
  text-align: right;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* BUTTONS */
.btn-senden {
  background: var(--brand-primary);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.18s ease, transform 0.12s ease, opacity 0.18s ease;
  opacity: 1;
  transform: scale(1);
}
.btn-senden:hover:not(:disabled),
.btn-senden:focus:not(:disabled) {
  background: var(--brand-primary-hover);
  transform: scale(1.02);
}
.btn-senden:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: scale(0.97);
}

/* KLEINERE UI-ANPASSUNGEN */
a.button,
.button {
  display: inline-block;
  text-decoration: none;
  background: var(--brand-primary);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.18s ease;
}
a.button:hover,
.button:hover {
  background: var(--brand-primary-hover);
}


/* FOOTER - passend zum Header (gleiche wrapper/nav-wrapper Breite) */
.footer {
  width: 100%;
  background: var(--brand-primary-hover);
  border-top: 1px solid var(--border);
  color: var(--text-default);
  padding: 18px 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.02);
}

/* Nutzt dieselbe .wrapper und .nav-wrapper Struktur wie Header */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 0 10px;
}

/* Linke Spalte */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-default);
}
.footer-brand {
  font-weight: 700;
  color: var(--text-default);
  font-size: 1rem;
  line-height: 1;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}
.footer-link {
  color: var(--text-default);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-link:hover,
.footer-link:focus {
  color: var(--text-hover);
  text-decoration: underline;
}
.footer-sep {
  color: #bbb;
  font-size: 0.9rem;
  user-select: none;
}


/* Schwebender WhatsApp Button unten rechts */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float .whatsapp-icon {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;           /* startet außerhalb */
    height: 100vh;
    width: 300px;            /* großzügiger Platz für Links */
    background: var(--white);
    flex-direction: column;
    padding: 28px 22px;
    gap: 22px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.18);
    transition: right 0.32s cubic-bezier(.2,.9,.2,1);
    z-index: 1600;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;                /* fährt ins Bild */
  }

  .nav-links a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-default);
    display: block;
    padding: 10px 6px;
    border-radius: 8px;
  }

  .nav-links a:focus,
  .nav-links a:hover {
    color: var(--brand-primary);
    background: rgba(247,147,26,0.06);
    outline: none;
  }

  /* Backdrop hinter dem Drawer */
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 1500;
  }

  .nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Hamburger sichtbar */
  .hamburger {
    display: flex;
    z-index: 1700;
  }

  /* Optional: Close icon oben im Drawer (falls du ein X einfügst) */
  .nav-close {
    display: block;
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--text-default);
    cursor: pointer;
  }
  .hero {
    height: 70vh;
    align-items: center;    /* GEÄNDERT: Richtet den Text vertikal exakt in der Mitte aus */
    padding-bottom: 0;      /* GEÄNDERT: Entzieht den Abstand nach unten */
  }
  .hero-content {
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 0 20px;
  }
  .hero-overlay {
    background: rgba(255, 255, 255, 0.65); /* Transparenter (von 0.75 auf 0.45 gesenkt) */
    backdrop-filter: blur(5px);             /* Weniger Unschärfe (von 8px auf 3px gesenkt) */
    -webkit-backdrop-filter: blur(5px);    /* Safari */
  }
  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 12px;
    word-break: break-word;
  }
  .hero-content p {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .overview-left {
    order: 2;
  }
  .overview-right {
    order: 1;
  }
  .intro-text {
    text-align: center;
  }
  .overview-big {
    font-size: 2rem;
    text-align: center;
  }
  .overview-right h3 {
    text-align: center;
  }
  /* Leistungen mobil */
  .leistung-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .leistung-icon {
    width: 32px;
    height: 32px;
  }
  .leistung-text h3 {
    font-size: 1.3rem;
  }
  .overview-left img {
    width: 260px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    padding: 0px;
  }
  .form-row {
    flex-direction: column;
  }
}

/* Kleine Hilfsklassen */
.text-muted { color: #777; }
.center { text-align: center; }
.hidden { display: none !important; }
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }





/* --- Responsive Anpassung für sehr kleine Bildschirme (<= 375px) --- */
@media (max-width: 375px) {
.footer {
  padding: 18px 0 40px 0;
}



  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Linke Inhalte oben, WhatsApp darunter */
  .footer-left {
    order: 1;
    width: 100%;
  }

  .footer-right {
    order: 2;
    width: 100%;
    justify-content: flex-start; /* linksbündig */
  }

  /* WhatsApp-Button linksbündig und mit Abstand */
  .whatsapp-link {
    margin-left: 0;
    align-self: flex-start;
  }
}




/* Schwebender WhatsApp Button unten rechts */
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    background-color: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    z-index: 9999 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Garantiert die richtige Icon-Größe und weiße Farbe */
.whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    fill: #FFFFFF !important;
}

.whatsapp-float svg path {
    fill: #FFFFFF !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4) !important;
}