/*------------------------------------
  VARIABLES & RESET
------------------------------------*/
:root {
  --col-bg: #0b0f24;
  --col-light: #fafafa;
  --col-accent: #f4edd8;
  --col-muted: rgba(255,255,255,0.4);
  --font-sans: 'Montserrat', sans-serif;
  --radius: 12px;
  --spacing: 1rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-sans);
  background: var(--col-bg);
  color: var(--col-light);
  line-height: 1.6;
}

/*------------------------------------
  SKIP LINK
------------------------------------*/
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: #000; color: #fff; padding: .5rem;
  z-index: 100; transition: top .3s;
}
.skip-link:focus { top: 0; }

/*------------------------------------
  HEADER & NAVIGATION
------------------------------------*/
.site-header {
  position: sticky; top: 0; width: 100%;
  background: rgba(11,15,36,0.6);
  backdrop-filter: blur(12px);
  z-index: 100;
}
.nav-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: var(--spacing);
  position: relative;
}
/* Logo links */
.nav-container .logo {
  width: 60px; height: 60px;
  background: url('../images/logo.png') no-repeat center/contain;
  transition: transform .3s ease;
}
.nav-container .logo:hover {
  transform: scale(1.1);
}
/* Anfrage-Button rechts */
.nav-container .inquiry-btn {
  padding: .5rem 1rem;
  background: var(--col-light);
  color: var(--col-bg);
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.nav-container .inquiry-btn:hover {
  opacity: .9; transform: translateY(-2px);
}
/* Desktop-Menü (zentriert) */
.nav-menu {
  flex: 1; text-align: center;
}
/* nur das Haupt-UL als Inline-Flex, nicht die Dropdown-ULs */
.nav-menu > ul {
  display: inline-flex;
  list-style: none;
  gap: calc(var(--spacing)*2);
}
/* Alle Links (inkl. Dropdown) identisch stylen */
.nav-menu a,
.nav-menu .dropdown-trigger {
  color: var(--col-light);
  text-decoration: none;
  font-weight: 500;
  padding: .5rem .75rem;
  border-radius: var(--radius);
  background: transparent;
  transition: color .2s, background .2s;
}
.nav-menu a:hover,
.nav-menu .dropdown-trigger:hover {
  color: var(--col-accent);
  background: rgba(255,255,255,0.1);
}
/* Dropdown-Pfeil */
.has-dropdown > .dropdown-trigger::after {
  content: ' ▾';
  font-size: .8rem;
  vertical-align: middle;
}
/* Dropdown bei Hover */
.has-dropdown {
  position: relative;
}
.has-dropdown:hover > .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
/* Vertikales Dropdown-Menü */
.dropdown {
  /* überschreiben, damit nicht inline-flex wird */
  display: block !important;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  transform: translateY(8px);
  background: rgba(11,15,36,0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 180px;
  opacity: 0; visibility: hidden;
  transition: all .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 50;
}
.dropdown li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.dropdown li:last-child {
  border-bottom: none;
}
.dropdown li a {
  display: block;
  padding: .75rem 1rem;
  color: var(--col-light);
  font-weight: 400;
  text-align: left;
}
.dropdown li a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--col-accent);
}

/*------------------------------------
  MOBILE NAVIGATION
------------------------------------*/
.nav-toggle {
  display: none;
}
@media (max-width: 800px) {
  .nav-toggle {
    display: block; background: none; border: none;
    color: var(--col-light); font-size: 1.5rem; cursor: pointer;
  }
  .nav-menu {
    position: absolute; top: 100%; left: 0;
    width: 100%; background: rgba(11,15,36,0.9);
    flex-direction: column; display: none;
  }
  .nav-menu ul {
    flex-direction: column; gap: 0;
  }
  .nav-menu li {
    text-align: center; padding: .75rem 0;
  }
  .nav-toggle[aria-expanded="true"] + .nav-menu {
    display: flex; flex-direction: column;
  }
}

/*------------------------------------
  SECTION-HEADERS
------------------------------------*/
h2 {
  font-size: 2.25rem; font-weight: 600;
  text-align: center; color: var(--col-light);
  margin: 4rem 0 1rem;
}
h2 + p {
  text-align: center; color: var(--col-muted);
  margin-bottom: 2rem;
}

/*------------------------------------
  BUTTONS
------------------------------------*/
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--col-light);
  color: var(--col-bg);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.btn:hover { opacity: .9; transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--col-muted);
  color: var(--col-light);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.btn-outline:hover { opacity: .9; }

/*------------------------------------
  HERO SECTION & LOGO SCALE
------------------------------------*/
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem; align-items: center;
  padding: 6rem 1rem 0;
  max-width: 1200px; margin: 0 auto;
}
/* größerer Logo-Platz links */
.hero-logo img {
  width: auto;
  height: 350px;
  transition: transform .3s ease;
}
.hero-logo img:hover {
  transform: scale(1.1);
}
.hero-text h1 {
  font-size: 3.5rem; line-height:1.1; font-weight:600;
  margin-bottom:1rem;
}
.hero-text p {
  max-width:550px; opacity:.85; margin-bottom:1.5rem;
}
/* Full-width Banner Foto */
.hero-image {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  height: 400px;      /* oder 350px, ganz nach Wunsch */
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*------------------------------------
  KERNLEISTUNGEN
------------------------------------*/
#service {
  background: rgba(244,237,216,0.1);
  padding: 4rem 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2.5rem; max-width:1200px;
  margin:0 auto; padding:0 1rem;
}
.card {
  background: var(--col-bg); color: var(--col-light);
  padding:2.5rem; border-radius:var(--radius);
  box-shadow:0 6px 20px rgba(0,0,0,0.5);
  display:flex; flex-direction:column;
  justify-content:space-between;
  transition:transform .3s,box-shadow .3s;
}
.card:hover {
  transform:translateY(-8px);
  box-shadow:0 12px 28px rgba(0,0,0,0.6);
}
.card h3 { margin-bottom:1.25rem; font-size:1.5rem; }
.card p { flex-grow:1; opacity:.9; margin-bottom:1.5rem; }

/*------------------------------------
  FAQ SECTION (SLIDE)
------------------------------------*/
.faq { padding:6rem 0 4rem; }
.accordion {
  max-width:700px; margin:0 auto 4rem; padding:0 1rem;
}
.accordion .item + .item { margin-top:1rem; }
.answer {
  max-height:0; overflow:hidden;
  transition:max-height .3s ease;
}
.question {
  width:100%; padding:1.25rem 1.5rem;
  font-weight:500; font-size:1rem;
  background:rgba(20,30,60,0.5);
  backdrop-filter:blur(6px);
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,0.2);
  color:var(--col-light); cursor:pointer;
  display:flex; justify-content:space-between; align-items:center;
  transition:background .2s;
}
.question:hover,
.question[aria-expanded="true"] {
  background:rgba(20,30,60,0.6);
}
.question::after {
  content:'+'; font-size:1.2rem;
  transition:transform .3s;
}
.question[aria-expanded="true"]::after {
  content:'–';
}

/*------------------------------------
  FADE-IN ANIMATION
------------------------------------*/
.fade-in-section {
  opacity:0; transform:translateY(20px);
  transition: all .6s ease-out;
}
.fade-in-section.visible {
  opacity:1; transform:none;
}

/*------------------------------------
  FOOTER
------------------------------------*/
.site-footer {
  background: var(--col-light);
  color: var(--col-bg);
  text-align: center;
  padding: 2.5rem 1rem;
}
.site-footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}
.site-footer a {
  color: var(--col-bg);
  text-decoration: none;
  font-size: .95rem;
  transition: color .2s;
}
.site-footer a:hover {
  color: var(--col-accent);
}


/*------------------------------------
  SEITEN-SPEZIFISCHE ERGÄNZUNGEN
------------------------------------*/

/* Full-width Banner */
.page-banner {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  height: 400px;      /* oder 350px nach Wunsch */
  overflow: hidden;
}
.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Einleitung: mehr Abstand oben und unten */
.page-intro {
  max-width: 800px;
  margin: 1rem auto 4rem;  /* oben nur 1rem, unten 4rem Abstand */
  text-align: center;
}

.page-intro h2 {
  margin-bottom: .5rem;
}
.page-intro p {
  opacity: .85;
}

/* Content-Blöcke: mehr Abstand zwischen den Sektionen */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 4rem auto;    /* statt 2rem jetzt 4rem */
  padding: 0 1rem;
}
.content-block.reverse {
  direction: rtl;
}
.content-block.reverse > * {
  direction: ltr;
}
.content-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.content-text h3 {
  font-size: 1.75rem;
  margin-bottom: .75rem;
}
.content-text p {
  opacity: .9;
}

/* Trennlinie: etwas mehr Luft */
hr {
  max-width: 800px;
  margin: 3rem auto;    /* statt 2rem jetzt 3rem */
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Benefits-Section */
.benefits {
  max-width: 800px;
  margin: 6rem auto 6rem;  /* statt 3rem oben jetzt 4rem */
  text-align: center;
}
.benefits h2 {
  margin-bottom: 1rem;
}
.benefits ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1rem;
  padding: 0;
}
/* Basis-Styling der Items bleibt gleich */
.benefits li {
  background: rgba(255,255,255,0.05);
  padding: 1rem;
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.3s ease;
}
/* Hover-Effekt */
.benefits li:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}


/* Über Uns – Sektionen */
.about-section {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem;
  text-align: center;
}
.about-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Team-Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.team-member {
  background: rgba(255,255,255,0.05);
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}
.team-member:hover {
  transform: translateY(-4px);
}
.team-member img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Galerie-Slider */
.gallery-section {
  max-width: 1000px;
  margin: 4rem auto 6rem;
  padding: 0 1rem;
  text-align: center;
}
.gallery-section h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.gallery-slider {
  position: relative;
  overflow: hidden;
}
.gallery-slider .slides {
  display: flex;
  transition: transform 0.5s ease;
}
.gallery-slider .slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,17,40,0.6);
  color: var(--col-light);
  border: none;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
}
.gallery-slider .prev {
  left: var(--spacing);
}
.gallery-slider .next {
  right: var(--spacing);
}
/* ── Fix: Listing unter Header sichtbar machen ── */
main#main {
  /* sorgt für Platz oberhalb, damit nichts vom Sticky-Header verdeckt wird */
  padding-top: calc(60px + var(--spacing)); /* 60px = Header-Höhe, +1rem extra */
  
  /* wenn versehentlich ausgeblendet */
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Breadcrumb sichtbar machen */
.breadcrumb {
  margin: var(--spacing) auto 0;
  max-width: 1200px;
  padding: 0 var(--spacing);
  color: var(--col-light);
  font-size: 0.9rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}
.breadcrumb a {
  color: var(--col-accent);
  text-decoration: none;
}
.breadcrumb li + li::before {
  content: '›';
  margin: 0 0.5rem;
  color: var(--col-muted);
}

/*──────────────────────────────────────────────────────────────
  Pedigree-Tree: Linien exakt wie im Beispiel
──────────────────────────────────────────────────────────────*/
.pedigree-tree {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing);
  max-width: 800px;
  margin: 3rem auto;
  font-size: 0.95rem;
  text-align: center;
}

/* Gen1 (Pferd selbst) zentriert über Spalten 2+3 */
.pedigree-tree .gen1 {
  grid-column: 2 / span 2;
  position: relative;
  padding: var(--spacing);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  font-weight: 600;
}
/* Linie von Gen1 nach unten zur Trennung vor Gen2 */
.pedigree-tree .gen1::after {
  content: '';
  position: absolute;
  top: 100%;           /* direkt unter dem Kasten */
  left: 50%;           /* in der Mitte */
  transform: translateX(-50%);
  width: 0;
  height: var(--spacing);
  border-left: 2px solid var(--col-light);
}

/* Gen2 (Vater & Mutter) nebeneinander */
.pedigree-tree .gen2 {
  grid-column: 1 / span 4;
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--spacing);
}
/* horizontale Linie über beide Kästen als Verbindung */
.pedigree-tree .gen2::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - var(--spacing)/2);
  right: calc(50% - var(--spacing)/2);
  border-top: 2px solid var(--col-light);
}
/* jeder Kasten mit vertikaler Linie nach oben */
.pedigree-tree .gen2 > div {
  position: relative;
  flex: 1;
  padding: var(--spacing);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
}
.pedigree-tree .gen2 > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: var(--spacing);
  border-left: 2px solid var(--col-light);
}

/* Gen3 (Großeltern) nebeneinander in zwei Gruppen */
.pedigree-tree .gen3 {
  grid-column: 1 / span 4;
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--spacing);
}
/* horizontale Linie über alle vier Kästen */
.pedigree-tree .gen3::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(25% + var(--spacing)/2);
  right: calc(25% + var(--spacing)/2);
  border-top: 2px solid var(--col-light);
}
.pedigree-tree .gen3 > div {
  display: flex;
  gap: var(--spacing);
}
.pedigree-tree .gen3 > div > div {
  position: relative;
  flex: 1;
  padding: var(--spacing);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
}
/* vertikale Linien von Gen3-Kästen nach oben */
.pedigree-tree .gen3 > div > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: var(--spacing);
  border-left: 2px solid var(--col-light);
}


/*──────────────────────────────────────────────────────────────
  Pedigree-Tree: Linien exakt wie im Beispiel
──────────────────────────────────────────────────────────────*/
.pedigree-tree {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing);
  max-width: 800px;
  margin: 3rem auto;
  font-size: 0.95rem;
  text-align: center;
}

/* Gen1 (Pferd selbst) zentriert über Spalten 2+3 */
.pedigree-tree .gen1 {
  grid-column: 2 / span 2;
  position: relative;
  padding: var(--spacing);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}
/* Linie von Gen1 nach unten zur Trennung vor Gen2 */
.pedigree-tree .gen1::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: var(--spacing);
  border-left: 2px solid var(--col-light);
}

/* Gen2 (Vater & Mutter) nebeneinander */
.pedigree-tree .gen2 {
  grid-column: 1 / span 4;
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--spacing);
}
/* horizontale Linie über beide Kästen als Verbindung */
.pedigree-tree .gen2::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - var(--spacing)/2);
  right: calc(50% - var(--spacing)/2);
  border-top: 2px solid var(--col-light);
}
/* jeder Kasten mit vertikaler Linie nach oben */
.pedigree-tree .gen2 > div {
  position: relative;
  flex: 1;
  padding: var(--spacing);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.3s ease;
}
.pedigree-tree .gen2 > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: var(--spacing);
  border-left: 2px solid var(--col-light);
}

/* Gen3 (Großeltern) nebeneinander in zwei Gruppen */
.pedigree-tree .gen3 {
  grid-column: 1 / span 4;
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--spacing);
}
/* horizontale Linie über alle vier Kästen — entfernt! */
.pedigree-tree .gen3::before {
  content: none !important;
}
.pedigree-tree .gen3 > div {
  display: flex;
  gap: var(--spacing);
}
.pedigree-tree .gen3 > div > div {
  position: relative;
  flex: 1;
  padding: var(--spacing);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  transition: background 0.3s ease, transform 0.3s ease;
}
/* vertikale Linien von Gen3-Kästen nach oben */
.pedigree-tree .gen3 > div > div::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: var(--spacing);
  border-left: 2px solid var(--col-light);
}

/*──────────────────────────────────────────────────────────────
  Hover-Effekt für alle Pedigree-Boxen
──────────────────────────────────────────────────────────────*/
.pedigree-tree .gen1:hover,
.pedigree-tree .gen2 > div:hover,
.pedigree-tree .gen3 > div > div:hover {
  background: rgba(255,255,255,0.15) !important;
  transform: scale(1.03);
}

/*──────────────────────────────────────────────────────────────
  Detailseite Pferd: alles zentrieren & etwas spacing
──────────────────────────────────────────────────────────────*/
main#main {
  padding-top: calc(60px + var(--spacing)); /* Header-Puffer */
}

/* Überschriften zentrieren */
main#main h2,
main#main h3 {
  text-align: center;
  margin: 2rem 0 1rem;
}

/* Speziell: „Stammbaum“-Überschrift zentrieren */
.pedigree h3 {
  text-align: center;
  margin: 2.5rem 0 1.5rem;
  color: var(--col-light);
}

/* Hauptbild */
.detail-image {
  text-align: center;
  margin: 2rem 0;
}
.detail-image img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Basisdaten-Liste */
.horse-data {
  list-style: none;
  max-width: 400px;
  margin: 1rem auto;
  padding: 0;
  color: var(--col-light);
}
.horse-data li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.horse-data li:last-child {
  border-bottom: none;
}

/* Beschreibungstext */
.horse-desc {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  line-height: 1.6;
  color: var(--col-light);
}

/* Galerie */
.gallery {
  text-align: center;
  margin: 2rem 0;
}
.gallery img {
  display: inline-block;
  max-width: 150px;
  margin: 0.5rem;
  border-radius: var(--radius);
}

/* Video-Embed */
.video {
  text-align: center;
  margin: 2rem 0;
}
.video iframe {
  display: inline-block;
  max-width: 100%;
  width: 560px;
  height: 315px;
  border: none;
  border-radius: var(--radius);
}

/* Back-Button */
main#main > a.btn-outline {
  display: inline-block;
  margin: 2rem auto;
  text-align: center;
}

.legal-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 24px;

  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-align: center; /* neu */
}

/* Kontaktformular Wrapper */
.form-wrapper {
  max-width: 700px;
  margin: 50px auto; /* Abstand zu Header + Footer */
  padding: 30px;
  border-radius: 15px;

  /* Glassmorphism Effekt */
  background: rgba(10, 31, 68, 0.6); /* dunkles Blau, durchsichtig */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: #fff; /* weiße Schrift */
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Zentrierung des Titels */
.form-wrapper h1 {
  text-align: center;
  margin-bottom: 25px;
  color: #fff;
}

/* Form Elemente */
.contact-form label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  color: #fff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-bottom: 15px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

/* Button – gleiche Klasse wie "Anfragen"-Button */
.contact-form button {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  background: #ffffff;
  color: #0a1f44;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #0a1f44;
  color: #fff;
}

/* Checkbox Styling */
.contact-form .checkbox label {
  font-size: 14px;
  color: #fff;
}

.contact-form .checkbox a {
  color: #aad4ff;
  text-decoration: underline;
}
/* Mobile-Optimierung */
@media (max-width: 768px) {
  .form-wrapper {
    margin: 20px;             /* weniger Abstand links/rechts */
    padding: 20px;            /* kompakter auf kleinen Screens */
    border-radius: 12px;
  }

  .form-wrapper h1 {
    font-size: 1.8rem;        /* etwas kleinerer Titel */
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 16px;          /* gut lesbar auf Handy */
    padding: 10px;
  }

  .contact-form button {
    font-size: 16px;
    padding: 12px;
  }
}

/* Für ganz kleine Bildschirme (Handys < 480px) */
@media (max-width: 480px) {
  .form-wrapper {
    margin: 15px 10px;
    padding: 15px;
  }

  .form-wrapper h1 {
    font-size: 1.5rem;
  }
}
