/* ==========================================================================
   Paetzold Martina – Steuerberaterin
   Stylesheet (reines CSS, keine externen Abhängigkeiten)
   Farbwelt: Dunkelblau & Weiß mit dezenten Akzenten
   ========================================================================== */

:root {
  --color-primary: #0f2a52;        /* Dunkelblau */
  --color-primary-dark: #0a1d3a;   /* Tieferes Dunkelblau */
  --color-primary-light: #1c4480;  /* Helleres Blau */
  --color-accent: #b8902f;         /* Dezenter Gold-Akzent */
  --color-text: #1f2733;
  --color-text-muted: #5b6675;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6fa;
  --color-border: #e2e7ef;
  --shadow-sm: 0 1px 3px rgba(15, 42, 82, 0.08);
  --shadow-md: 0 6px 24px rgba(15, 42, 82, 0.10);
  --radius: 8px;
  --maxw: 1120px;
  --transition: 0.2s ease;
}

/* ----- Reset / Grundlagen ------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* ----- Sanftes Einblenden beim Laden ------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hauptbereiche faden beim Laden dezent ein (leicht versetzt) */
.hero,
.section,
.cta-band {
  animation: fadeInUp 0.6s ease both;
}

.section { animation-delay: 0.1s; }
.cta-band { animation-delay: 0.15s; }

/* Barrierefreiheit: Animationen bei entsprechender Systemeinstellung aus */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

h1, h2, h3 {
  color: var(--color-primary);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid var(--color-primary);
  cursor: pointer;
  transition: background-color var(--transition), border-color var(--transition),
    transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}

/* ----- Kopfbereich / Navigation ------------------------------------------ */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
}

/* Logo-Quadrat mit "M·P" */
.brand-mark {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  background-color: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Kleiner Trenner zwischen den Buchstaben */
.brand-mark-dot {
  margin: 0 1px;
  color: var(--color-accent);
  font-weight: 700;
}

/* Textblock rechts neben dem Quadrat */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand .brand-name {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-primary);
}

.brand .brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}

/* Invertierte Logo-Variante für den dunklen Footer */
.brand-footer {
  margin-bottom: 1rem;
}

.brand-footer .brand-mark {
  background-color: #fff;
  color: var(--color-primary);
}

.brand-footer .brand-name {
  color: #fff;
}

.brand-footer .brand-sub {
  color: var(--color-accent);
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.4rem;
}

.main-nav a {
  display: block;
  padding: 0.7rem 0.7rem;
  margin: 0 0.2rem;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
  z-index: 1;
}

/* Dezenter Unterstrich-Effekt, der von der Mitte aufwächst */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active {
  color: var(--color-primary);
}

/* Mobile-Navigation (CSS-only Toggle über Checkbox) */
.nav-toggle,
.nav-toggle-label {
  display: none;
}

/* ----- Hero -------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
  color: #fff;
  padding: 5rem 0;
}

.hero h1 {
  color: #fff;
  max-width: 760px;
  margin-bottom: 1.2rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 2rem;
}

.hero .btn {
  background-color: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.hero .btn:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

.hero .btn-outline {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  margin-left: 0.8rem;
}

.hero .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ----- Allgemeine Sektionen ---------------------------------------------- */
.section {
  padding: 4rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-header p {
  color: var(--color-text-muted);
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

/* Akzent-Linie unter Überschriften */
.accent-line::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 0.9rem auto 0;
  border-radius: 2px;
}

/* ----- Leistungs-Karten -------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-card .service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border: 1px solid var(--color-border);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin-bottom: 0;
}

/* ----- Vorteile / Trust-Bereich ------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Symmetrischer Umbruch: 2 Spalten auf Tablets, 1 Spalte auf Handys */
@media (max-width: 820px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature h3 {
  margin-bottom: 0.4rem;
}

.feature p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* ----- Call-to-Action-Band ----------------------------------------------- */
.cta-band {
  background-color: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.8rem;
}

.cta-band .btn {
  background-color: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.cta-band .btn:hover {
  background-color: var(--color-bg-alt);
}

/* ----- Kontakt / Info-Karten --------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.info-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.info-card h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
}

.info-list {
  list-style: none;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list .label {
  font-weight: 600;
  color: var(--color-primary);
  min-width: 110px;
  display: inline-block;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.98rem;
}

.hours-table th {
  color: var(--color-primary);
  font-weight: 600;
}

.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}

.hours-note {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ----- Formular ---------------------------------------------------------- */
.contact-form {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
  font-size: 0.96rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background-color: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(28, 68, 128, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.contact-form .btn {
  width: 100%;
}

/* ----- Karte / Adress-Hinweis -------------------------------------------- */
.map-embed {
  border: 0;
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ----- Dunkler Karten-Bereich (Maps + Adresse) --------------------------- */
.map-band {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 4rem 0;
}

.map-band .section-header h2 {
  color: #fff;
}

.map-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* Karte links – klickbarer Rahmen */
.map-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 360px;
}

.map-frame iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  filter: grayscale(0.15);
}

/* Platzhalter der Zwei-Klick-Lösung (vor Einwilligung) */
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background-color: var(--color-primary);
  background-image: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
}

.map-consent-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.map-consent-icon svg {
  width: 28px;
  height: 28px;
}

.map-consent-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  max-width: 360px;
  margin-bottom: 0.3rem;
}

/* Button im Platzhalter: heller Akzent auf dunklem Grund */
.map-consent .btn {
  background-color: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.map-consent .btn:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Adresse rechts – mit Icon */
.map-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.map-info-item:last-child {
  margin-bottom: 0;
}

.map-info-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.map-info-icon svg {
  width: 22px;
  height: 22px;
}

.map-info-item h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.map-info-item p,
.map-info-item address {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  margin-bottom: 0;
  line-height: 1.6;
}

.map-info-item a {
  color: #fff;
}

.map-info-item a:hover {
  color: var(--color-accent);
}

.map-directions {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* ----- Leistungskarten (zwei Spalten) ------------------------------------ */
.leistung-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: start;
}

.leistung-card {
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Headerbild der Karte */
.leistung-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--color-primary);
}

/* Inhalt unter dem Bild */
.leistung-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.leistung-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.leistung-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 1.3rem;
}

.leistung-card-icon svg {
  width: 32px;
  height: 32px;
}

.leistung-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.leistung-list {
  list-style: none;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.leistung-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.85rem;
  color: var(--color-text);
}

/* Häkchen-Markierung */
.leistung-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.85rem;
  border: solid var(--color-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.leistung-card .btn {
  align-self: flex-start;
}

/* ----- Leistungen als schlichte Listenansicht ---------------------------- */
.leistung-gruppe-titel {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin: 3rem 0 0.5rem;
  letter-spacing: 0.01em;
}

.leistung-gruppe-titel:first-of-type {
  margin-top: 0;
}

.leistung-liste {
  list-style: none;
}

.leistung-zeile {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* Nach dem letzten Eintrag keine Linie */
.leistung-zeile:last-child {
  border-bottom: none;
}

.leistung-zeile-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.leistung-zeile-icon svg {
  width: 30px;
  height: 30px;
}

.leistung-zeile-titel {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  /* sanfter Hover ohne Aufflackern */
  transition: transform var(--transition), color var(--transition);
}

.leistung-zeile-beschreibung {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Hover über die Zeile: Titel minimal nach rechts + helleres Blau */
.leistung-zeile:hover .leistung-zeile-titel {
  transform: translateX(4px);
  color: var(--color-primary-light);
}

/* ----- Fußbereich -------------------------------------------------------- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}

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

.site-footer h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
  color: #fff;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Rechtliche Links im Footer */
.footer-legal {
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.85rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0.5rem;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ----- Porträtfoto / Über-mich-Bereich (Startseite) ---------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}

.about-portrait {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  border: 5px solid #fff;
  outline: 1px solid var(--color-border);
  justify-self: center;
}

/* Begrüßungsbild als elegantes, abgerundetes Rechteck (Hochformat 2:3) */
.about-bild {
  width: 300px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: none;
  outline: none;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text .accent-line::after {
  margin-left: 0;
  margin-right: 0;
}

/* ----- Kontaktseite: dezentes Hintergrundbild ---------------------------- */
.contact-section {
  position: relative;
  background-image: url("Kontakt.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Dunkle, halbtransparente Schicht für gute Lesbarkeit */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(10, 29, 58, 0.82);
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

/* ----- Responsive -------------------------------------------------------- */
@media (max-width: 820px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.45rem; }

  .hero {
    padding: 3.5rem 0;
  }

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

  /* Neue Layouts: auf Handy untereinander */
  .map-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

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

  /* Porträt-Bereich auf Handy untereinander */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: center;
  }

  .about-text .accent-line::after {
    margin-left: auto;
    margin-right: auto;
  }

  /* Festes Hintergrundbild auf Mobilgeräten vermeiden (Performance) */
  .contact-section {
    background-attachment: scroll;
  }

  /* Mobile-Navigation aktivieren */
  .nav-toggle-label {
    display: block;
    cursor: pointer;
    padding: 0.4rem;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background-color: var(--color-primary);
    height: 2px;
    width: 26px;
    border-radius: 2px;
    position: relative;
    transition: var(--transition);
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    position: absolute;
  }

  .nav-toggle-label span::before { top: -8px; }
  .nav-toggle-label span::after { top: 8px; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1.5rem 1rem;
  }

  .main-nav a {
    padding: 0.8rem 0.5rem;
    margin: 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
  }

  /* Unterstrich-Effekt im Mobilmenü nicht nötig */
  .main-nav a::after {
    display: none;
  }

  .main-nav ul li:last-child a {
    border-bottom: none;
  }

  .nav-toggle:checked ~ .main-nav {
    max-height: 360px;
  }

  .hero .btn-outline {
    margin-left: 0;
    margin-top: 0.8rem;
  }

  .hero .btn {
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body { font-size: 16px; }

  .info-list li {
    flex-direction: column;
    gap: 0.15rem;
  }

  .info-list .label {
    min-width: auto;
  }
}
