/* zentral eingebundenes Stylesheet für alle Seiten */
:root {
  --primary: #0096dc;
  --primary-dark: #0075ac;
  --bg: #f5f7fa;
  --text: #222;
  --muted: #6c6c6c;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  text-decoration: underline;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header optimiert */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.7rem 1.2rem;
  margin-bottom: 1.5rem;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 1rem;
  z-index: 10;
  flex-wrap: wrap;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

header img {
  height: 42px;
  width: auto;
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-info strong {
  font-size: 1rem;
}

.brand-info span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 11;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

nav,
.nav-menu {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

nav a,
.nav-menu a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a.active,
.nav-menu a.active {
  color: var(--primary-dark);
  font-weight: 600;
}

nav a:hover,
.nav-menu a:hover {
  color: var(--primary-dark);
}

.cta-header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.6rem;
  background: rgba(0, 150, 220, 0.08);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
  white-space: nowrap;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.cta-header .btn-primary {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-ghost:hover {
  background: #fff;
}

main {
  margin-bottom: 2.5rem;
}

.hero {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin-bottom: 0.75rem;
}

.hero-text h1 span {
  color: var(--primary-dark);
}

.hero-text p.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-note {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--primary);
  margin-bottom: 1.5rem;
  font-size: 0.97rem;
}

.hero-note strong {
  display: block;
  margin-bottom: 0.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-actions small {
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-side {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.hero-side h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.hero-side p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.hero-side ul {
  list-style: none;
  margin: 0.75rem 0 0.25rem;
  padding: 0;
  font-size: 0.9rem;
}

.hero-side li {
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.35rem;
}

.hero-side li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.section {
  margin-top: 3rem;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
}

.section h1,
.section h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.section p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #f9fafb;
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1.3rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.card p {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.card small {
  font-size: 0.8rem;
  color: var(--muted);
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.partner {
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  background: #f7fbff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.partner span {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
  align-items: flex-start;
}

.contact-panel dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}

.contact-panel dt {
  color: var(--muted);
}

.contact-panel dd {
  font-weight: 500;
}

.notice {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.65rem;
}

footer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  padding: 2.5rem 1rem 1.5rem;
}

footer a {
  color: inherit;
}

/* Breadcrumps */

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb span {
  margin: 0 0.15rem;
}

/* Responsive */

@media (max-width: 900px) {
  header {
    flex-wrap: wrap;
    padding: 0.6rem 0.8rem;
    border-radius: 1.2rem;
    gap: 0.5rem;
  }

  .header-brand {
    gap: 0.8rem;
    order: 1;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 2;
  }

  .nav-menu {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
  }

  .nav-menu a {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
  }

  .cta-header {
    align-items: center;
    flex-basis: 100%;
    order: 4;
    margin-top: 0.5rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }

  .hero-side {
    order: -1;
  }

  .hero-text h1 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  }

  .hero-text p.lead {
    font-size: 1rem;
  }

  .contact-panel {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .image-grid img {
    height: 150px;
  }

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

  .map-container iframe {
    height: 280px;
  }
}

@media (max-width: 600px) {
  .page {
    padding: 0.8rem;
  }

  header {
    padding: 0.6rem 0.8rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    gap: 0.4rem;
  }

  .header-brand {
    gap: 0.6rem;
  }

  header img {
    height: 36px;
  }

  .brand-info strong {
    font-size: 0.9rem;
  }

  .brand-info span {
    font-size: 0.75rem;
  }

  .mobile-menu-toggle {
    padding: 0.4rem;
  }

  .mobile-menu-toggle span {
    width: 22px;
    height: 2.5px;
  }

  .nav-menu {
    flex-basis: calc(100% + 1.6rem);
    margin: 0.5rem -0.8rem -0.6rem -0.8rem;
    padding: 0.8rem 0.8rem 1rem 0.8rem;
    flex-direction: column;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #f5f7fa 100%);
    border-radius: 0 0 1rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .nav-menu.active {
    max-height: 300px;
    opacity: 1;
  }

  .nav-menu a {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 0.6rem;
    font-size: 0.9rem;
    transition: background 0.2s ease;
  }

  .nav-menu a:hover {
    background: rgba(0, 150, 220, 0.08);
    text-decoration: none;
  }

  .nav-menu a.active {
    background: rgba(0, 150, 220, 0.12);
  }

  .cta-header {
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    flex-basis: 100%;
    margin-top: 0;
  }

  .cta-header .btn-primary {
    padding: 0.35rem 0.8rem;
    font-size: 0.75rem;
  }

  .badge {
    padding: 0.12rem 0.5rem;
    font-size: 0.65rem;
  }

  .section {
    padding: 1.3rem 1rem;
    margin-top: 1.5rem;
    border-radius: 0.9rem;
  }

  .section h1,
  .section h2 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
  }

  .section p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
  }

  .hero {
    margin-top: 1rem;
    gap: 1.2rem;
  }

  .hero-text h1 {
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    margin-bottom: 0.5rem;
  }

  .hero-text p.lead {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .hero-note {
    padding: 0.8rem 1rem;
    border-left: 3px solid var(--primary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-radius: 0.8rem;
  }

  .hero-note strong {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
  }

  .hero-side {
    padding: 1.2rem 1rem;
    border-radius: 0.9rem;
  }

  .hero-side h2 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .hero-side p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .hero-side ul {
    margin: 0.6rem 0 0.2rem;
    font-size: 0.85rem;
  }

  .hero-side li {
    padding-left: 1rem;
    margin-bottom: 0.3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .hero-actions small {
    font-size: 0.75rem;
    text-align: center;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1rem;
  }

  .card {
    padding: 1rem;
    border-radius: 0.8rem;
  }

  .card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  .card p {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
  }

  .partner-list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 0.8rem;
  }

  .partner {
    padding: 0.6rem 0.8rem;
    border-radius: 0.7rem;
    gap: 0.1rem;
  }

  .partner span {
    font-size: 0.75rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .image-grid img {
    height: 180px;
  }

  .image-grid figcaption {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }

  .map-container {
    margin-top: 1rem;
    border-radius: 0.9rem;
  }

  .map-container iframe {
    height: 250px;
  }

  .faq {
    margin-top: 1rem;
    gap: 0.6rem;
  }

  .faq details {
    border-radius: 0.8rem;
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }

  .faq summary {
    font-size: 0.95rem;
  }

  .faq p {
    margin-top: 0.4rem;
    font-size: 0.88rem;
  }

  .section-split-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .contact-panel {
    gap: 1.2rem;
  }

  .contact-panel dl {
    gap: 0.3rem 0.8rem;
    font-size: 0.9rem;
  }

  footer {
    font-size: 0.75rem;
    padding: 1.5rem 0.8rem 1rem;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }
}

@media (max-width: 380px) {
  .page {
    padding: 0.6rem;
  }

  header {
    padding: 0.5rem 0.6rem;
    margin-bottom: 0.8rem;
    border-radius: 0.8rem;
    gap: 0.4rem;
  }

  header img {
    height: 32px;
  }

  .brand-info strong {
    font-size: 0.85rem;
  }

  .brand-info span {
    font-size: 0.7rem;
    line-height: 1.3;
  }

  nav {
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  nav a {
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
  }

  .cta-header {
    gap: 0.3rem;
    font-size: 0.7rem;
  }

  .cta-header .btn-primary {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }

  .badge {
    padding: 0.1rem 0.4rem;
    font-size: 0.6rem;
  }

  .hero-text h1 {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    margin-bottom: 0.4rem;
  }

  .hero-text p.lead {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }

  .hero-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .section h2 {
    font-size: 1.05rem;
  }

  .hero-side h2 {
    font-size: 0.95rem;
  }

  .image-grid img {
    height: 150px;
  }

  .map-container iframe {
    height: 220px;
  }
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.image-grid figure {
  border-radius: 1rem;
  overflow: hidden;
  background: #f0f4f8;
  box-shadow: var(--shadow-soft);
}

.image-grid img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.image-grid figcaption {
  padding: 0.6rem 0.9rem 0.8rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.map-container {
  margin-top: 1.2rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #e5edf5;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

.faq {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq details {
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  background: #f4f7fb;
  border: 1px solid rgba(15, 35, 70, 0.08);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  padding: 0.25rem 0;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 600;
}

.faq details[open] summary::after {
  content: "–";
}

.faq p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.section-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.section-split-block p {
  margin-bottom: 0.9rem;
}

.section-subheading {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .section-split-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  display: none;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  font-size: 0.9rem;
  max-width: 90vw;
  width: 100%;
}

.cookie-banner button {
  padding: 0.4rem 1rem;
  border-radius: 0.8rem;
  border: none;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.cookie-banner button:hover {
  background: var(--primary-dark);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 10px;
    left: 0.5rem;
    right: 0.5rem;
    transform: none;
    width: auto;
    max-width: none;
    padding: 0.8rem 1rem;
    border-radius: 0.8rem;
    font-size: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .cookie-banner p {
    margin: 0;
  }

  .cookie-banner button {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
