/* Grundformatierung */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Fira Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #d7eadf;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header / Navigation */
.nav-toggle {
  display: none;
}

.site-header {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #bcd8c8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  max-height: 60px;
  width: auto;
  display: block;
  -webkit-mask-image: radial-gradient(ellipse 88% 80% at center, black 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 88% 80% at center, black 55%, transparent 100%);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #2a2a2a;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding-bottom: 3px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1f3a5f;
  border-radius: 2px;
  transition: width 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #1f3a5f;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Hero-Bereich */
.hero {
  padding: 4rem 0;
  background:
    radial-gradient(circle, rgba(31, 58, 95, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #d0e8da 0%, #eef6f1 55%, #daeee4 100%);
  background-size: 28px 28px, 100% 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #cfe3d8;
}

.profile-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-wrapper {
  position: relative;
  width: min(280px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  cursor: crosshair;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 5px solid #ffffff;
  box-shadow:
    0 0 0 8px rgba(207, 227, 216, 0.65),
    0 20px 52px rgba(0, 0, 0, 0.16);
  display: block;
  transition: opacity 0.5s ease;
}

.nn-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid #ffffff;
  box-shadow:
    0 0 0 8px rgba(207, 227, 216, 0.65),
    0 20px 52px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.profile-wrapper:hover .nn-canvas {
  opacity: 1;
}

.profile-wrapper:hover .profile-image {
  opacity: 0;
}

/* Seitenkopf */
.page-header {
  padding: 3rem 0 2rem;
  background-color: #cfe3d8;
}

.page-header h1 {
  margin-bottom: 0.5rem;
  font-size: 2rem;
  font-weight: 600;
}

/* Allgemeine Bereiche */
.content-section {
  padding: 3rem 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border: 1px solid #cfe3d8;
  border-left: 3px solid #1f3a5f;
  border-bottom: 3px solid #1f3a5f;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: #1f3a5f;
  text-decoration: none;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
  letter-spacing: 0.01em;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: #1f3a5f;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #162c47;
}

.btn-secondary {
  background-color: #cfe3d8;
  color: #1a1a1a;
  border: 1px solid #bcd8c8;
}

.btn-secondary:hover {
  background-color: #b8d6c5;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.full-width {
  width: 100%;
  text-align: center;
}

/* Über mich */
.two-column {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.sidebar-box {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  border: 1px solid #cfe3d8;
}

.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
  align-self: start;
}

/* Fortbildung */
.training-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.training-content {
  display: grid;
  gap: 1.5rem;
}

.contact-cta {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid #bcd8c8;
  position: sticky;
  top: 100px;
}

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #555;
}

.mobile-cta-bar {
  display: none;
}

/* Angebotsübersicht */
.offer-overview {
  padding: 2.5rem 0;
  background-color: #eef6f1;
  border-bottom: 1px solid #cfe3d8;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.offer-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  border: 1px solid #cfe3d8;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.09);
}

.offer-image {
  height: 140px;
  background-color: #cfe3d8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #5a8a70;
  position: relative;
  overflow: hidden;
}

.offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-credit {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  padding: 3px 7px;
  border-radius: 4px 0 0 0;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.offer-image:hover .img-credit {
  opacity: 1;
}

.offer-card-body {
  padding: 1.25rem;
}

.offer-card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.offer-card-body p {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
}

.offer-card-body .text-link {
  margin-top: 0;
  font-size: 0.9rem;
}

/* Kartenüberschrift mit Icon */
.card-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #cfe3d8;
}

.card-heading h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1f3a5f;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.22s ease;
  cursor: zoom-out;
}

.lightbox-overlay.is-open {
  opacity: 1;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  color: white;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.75;
  padding: 0.25rem 0.5rem;
  font-family: inherit;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-trigger {
  cursor: zoom-in;
}

/* Zitat */
.quote-section {
  padding: 3rem 0;
  background-color: #ffffff;
  border-top: 1px solid #cfe3d8;
  border-bottom: 1px solid #cfe3d8;
  text-align: center;
}

.quote-section blockquote {
  margin: 0 auto;
  max-width: 700px;
  font-size: 1.15rem;
  font-style: italic;
  color: #2a2a2a;
  line-height: 1.8;
  position: relative;
}

.quote-section blockquote::before {
  content: '\201C';
  display: block;
  font-size: 5.5rem;
  line-height: 0.7;
  color: #c5ddd0;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: normal;
  margin-bottom: 0.5rem;
  pointer-events: none;
}

.quote-section blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  font-style: normal;
  color: #555;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background-color: #1f3a5f;
  color: #ffffff;
  padding: 1.5rem 0;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-nav-sep {
  opacity: 0.45;
  font-size: 0.9rem;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}


/* Kontaktformular */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form-area {
  display: grid;
  gap: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-section {
  display: grid;
  gap: 1.25rem;
}

.form-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f3a5f;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e0eee7;
}

.form-section-desc {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #2a2a2a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #bcd8c8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: #1a1a1a;
  background-color: #fafffe;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1f3a5f;
  box-shadow: 0 0 0 3px rgba(31, 58, 95, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.required {
  color: #c0392b;
  font-size: 0.85rem;
}

.form-check-group {
  display: grid;
  gap: 0.6rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #e0eee7;
  background-color: #f7fcf9;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.form-check:hover {
  background-color: #eef6f1;
  border-color: #bcd8c8;
}

.form-check input[type="checkbox"] {
  width: auto;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: #1f3a5f;
}

.form-check-label {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #2a2a2a;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid #bcd8c8;
  background-color: #f7fcf9;
  font-size: 0.95rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.form-radio:hover {
  background-color: #eef6f1;
  border-color: #1f3a5f;
}

.form-radio input[type="radio"] {
  accent-color: #1f3a5f;
}

.form-privacy-note {
  margin: 0;
  font-size: 0.875rem;
  color: #666;
  line-height: 1.5;
}

.form-privacy-note a {
  color: #1f3a5f;
}

.form-submit-area {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-submit-btn {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.form-alt-contact {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

.form-alt-contact a {
  color: #1f3a5f;
  font-weight: 500;
}

.form-send-error {
  margin: 0;
  font-size: 0.9rem;
  color: #b00020;
  background-color: #fdf0f0;
  border: 1px solid #f0c0c0;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  width: 100%;
}

/* Kontakt-Infobox (Sidebar) */
.contact-info-box {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 2px solid #bcd8c8;
  position: sticky;
  top: 100px;
  display: grid;
  gap: 0.75rem;
}

.contact-info-box h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f3a5f;
  margin: 0;
}

.process-list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
  display: grid;
  gap: 0.25rem;
}

.divider {
  border: none;
  border-top: 1px solid #e0eee7;
  margin: 0.25rem 0;
}

.contact-email-link {
  color: #1f3a5f;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-email-link:hover {
  text-decoration: underline;
}

.contact-region-note {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* Danke-Seite */
.danke-box {
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
  display: grid;
  gap: 1.25rem;
  padding: 2.5rem;
}

.danke-icon {
  width: 64px;
  height: 64px;
  background-color: #cfe3d8;
  color: #1f3a5f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto;
}

.danke-box h1 {
  font-size: 1.6rem;
  margin: 0;
  color: #1f3a5f;
}

.danke-box p {
  margin: 0;
  font-size: 1.05rem;
  color: #444;
}

.danke-followup {
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #e0eee7;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.danke-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Danke-Ressourcen */
.danke-ressourcen {
  padding-top: 0;
}

.danke-ressourcen-titel {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1f3a5f;
  margin-bottom: 0.4rem;
}

.danke-ressourcen-intro {
  color: #555;
  margin-bottom: 1.5rem;
}

.danke-ressourcen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.ressource-card {
  background-color: #ffffff;
  border: 1px solid #cfe3d8;
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ressource-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

.ressource-card-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5a8a70;
}

.ressource-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1f3a5f;
}

.ressource-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.55;
  flex: 1;
}

.ressource-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f3a5f;
  margin-top: 0.25rem;
}

/* Konzept-Sektion (Dagstuhl-Dreieck) */
.concept-layout {
  margin-top: 0.75rem;
  overflow: auto;
}

.concept-layout p {
  margin-top: 0;
}

.concept-source {
  font-size: 0.85rem;
  color: #555;
  border-top: 1px solid #e0eee7;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.concept-source p {
  margin: 0 0 0.15rem;
}

.concept-source a {
  color: #1f3a5f;
}

.concept-figure {
  float: right;
  width: 42%;
  margin: 0 0 1rem 1.75rem;
  text-align: center;
}

.concept-figure img {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid #cfe3d8;
  width: 100%;
}

.concept-figure figcaption {
  font-size: 0.78rem;
  color: #777;
  margin-top: 0.5rem;
  line-height: 1.4;
}

.concept-figure figcaption a {
  color: #1f3a5f;
  text-decoration: none;
}

.concept-figure figcaption a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .concept-figure {
    float: none;
    width: 100%;
    margin: 0 0 1rem 0;
  }
}

/* Testimonial-Ticker */
.testimonial-ticker {
  overflow: hidden;
  position: relative;
}

.testimonial-ticker::before,
.testimonial-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.testimonial-ticker::before {
  left: 0;
  background: linear-gradient(to right, #d7eadf, transparent);
}

.testimonial-ticker::after {
  right: 0;
  background: linear-gradient(to left, #d7eadf, transparent);
}

.ticker-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: 1.75rem 0;
  animation: ticker-scroll 80s linear infinite;
  align-items: flex-start;
}


@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  min-width: 200px;
  max-width: 300px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  border: 1px solid #cfe3d8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.ticker-quote {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 0.5rem;
  color: #2a2a2a;
}

.ticker-attr {
  font-size: 0.78rem;
  font-weight: 600;
  color: #5a8a70;
  margin: 0;
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    padding: 1.5rem;
    gap: 1rem;
  }

  .ticker-item {
    min-width: 200px;
    max-width: none;
    flex: 1 1 200px;
  }

  .testimonial-ticker::before,
  .testimonial-ticker::after {
    display: none;
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-grid,
  .two-column,
  .training-layout,
  .contact-layout,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-box,
  .contact-cta,
  .contact-info-box {
    position: static;
  }

  .mobile-cta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid #bcd8c8;
    padding: 0.75rem 1.5rem;
    z-index: 900;
    gap: 0.75rem;
  }

  .mobile-cta-bar span {
    font-size: 0.9rem;
    color: #555;
    white-space: nowrap;
  }

  .mobile-cta-bar .btn {
    white-space: nowrap;
  }

  body:has(.mobile-cta-bar) {
    padding-bottom: 68px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1010;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1f3a5f;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .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;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #bcd8c8;
    padding: 0.5rem 0 1rem;
    flex-direction: column;
    gap: 0;
    z-index: 999;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid #eef6f1;
    font-size: 1rem;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }
}


/* Soziale Netzwerke */
.social-connect {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid #e0eee7;
}

.social-connect h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f3a5f;
  margin: 0 0 1rem;
}

.social-link-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #cfe3d8;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.social-link-item:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
}

.social-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
}

.social-link-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.social-link-info strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f3a5f;
}

.social-link-info span {
  font-size: 0.82rem;
  color: #666;
}

.social-link-arrow {
  font-size: 1rem;
  color: #bbb;
  transition: color 0.18s ease, transform 0.18s ease;
}

.social-link-item:hover .social-link-arrow {
  color: #1f3a5f;
  transform: translateX(2px);
}

/* Scroll-Reveal-Animationen */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 2.5rem 0;
  }

  .page-header {
    padding: 2rem 0 1.5rem;
  }

  .logo-img {
    max-height: 50px;
  }
}