/* =========================================================
   ELEKTRO-SERVICE AXEL STEINFÜHRER
   Vollständig kommentierte CSS-Version – Feintuning

   Hinweis:
   - Alle Maße/Farben/Positionen wurden aus der vorhandenen
     Version übernommen.
   - Es wurden nur Kommentare und Zeilenumbrüche ergänzt.
   - Dadurch bleibt das Erscheinungsbild unverändert.
   ========================================================= */


/* =========================================================
   1. ZENTRALE FARBEN UND GRÖSSEN
   Diese Werte gelten an vielen Stellen der Seite.
   ========================================================= */
:root {
  /* Hauptgrün */
  --green: #079344;

  /* Dunkleres Grün, z. B. Überschriften und Navigation */
  --green-dark: #047d39;

  /* Sehr dunkles Grün, z. B. Hover-Zustand */
  --green-deep: #045c2d;

  /* Standard-Textfarbe */
  --ink: #102038;

  /* Gedämpfte Textfarbe */
  --muted: #46566e;

  /* Helle Linien / Rahmen */
  --line: #d8e5dd;

  /* Sehr heller Hintergrund */
  --soft: #f4f8f5;

  /* Maximale Inhaltsbreite */
  --page: 968px;

  /* Standard-Schatten */
  --shadow: 0 8px 24px rgba(7, 70, 35, .12);
}


/* =========================================================
   2. ALLGEMEINE GRUNDEINSTELLUNGEN
   ========================================================= */

/* Sorgt dafür, dass Padding und Rahmen in Breiten enthalten sind */
* {
  box-sizing: border-box;
}

/* Weiches Scrollen bei Sprungmarken */
html {
  scroll-behavior: smooth;
}

/* Gesamte Seite */
body {
  margin: 0;
  background: #eef3ef;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.35;
}

/* Links übernehmen zunächst die Textfarbe */
a {
  color: inherit;
}

/* Zentrale Inhaltsbreite */
.container {
  width: min(calc(100% - 50px), var(--page));
  margin-inline: auto;
}

/* Unsichtbarer "Zum Inhalt springen"-Link für Tastaturnutzer */
.skip {
  position: absolute;
  left: -9999px;
}

/* Wird sichtbar, wenn er per Tastatur fokussiert wird */
.skip:focus {
  left: 12px;
  top: 12px;
  background: #fff;
  padding: 10px;
  z-index: 1000;
}

/* Weißer Hauptseitenrahmen mit grünem Rand */
.page-frame {
  width: min(100%, 1024px);
  margin: 0 auto;
  background: #fff;
  border: 5px solid var(--green);
  box-shadow: 0 0 28px rgba(5, 70, 35, .08);
}


/* =========================================================
   3. KOPFBEREICH / HEADER
   Logo, grüner Balken, Firmenname, Kontaktdaten,
   Jubiläumszeichen
   ========================================================= */

/* Gesamter Kopfbereich */
.site-header {
  background: #fff;
}

/* Oberer weißer Headerbereich */
.identity-wrap {
  position: relative;
  height: 148px;
  overflow: visible;
  background: #fff;
  border-top: 0;
}

/* Grüner horizontaler Balken hinter dem Logo */
.identity-band {
  position: absolute;
  left: 0;
  right: 0;

  /* Vertikale Position des grünen Balkens */
  top: 28px;

  /* Höhe des grünen Balkens */
  height: 42px;

  background: linear-gradient(90deg, var(--green-dark), var(--green));
  z-index: 0;
}

/* Bezugsebene für alle Header-Elemente */
.identity {
  position: relative;
  height: 148px;
  z-index: 1;
}

/* Bereich für Logo und Firmenname */
.identity-main {
  position: absolute;

  /* Gesamter Logo-/Namensblock von links */
  left: 54px;

  top: 0;
  width: 430px;
  height: 148px;
  text-decoration: none;
  display: block;
}

/* Weißer ovaler Ausschnitt hinter dem Logo */
.identity-main::before {
  content: "";
  position: absolute;

  /* Position des weißen Ausschnitts
     left größer  = weiter nach rechts
     left kleiner = weiter nach links
     top größer   = weiter nach unten
     top kleiner  = weiter nach oben */
  left: 128px;
  top: -1px;

  /* Größe des weißen Ausschnitts.
     Das Oval ist jeweils 4 px größer als das Logo,
     dadurch entstehen rechnerisch etwa 2 px weißer Rand
     auf jeder Seite. */
  width: 156px;
  height: 78px;

  background: #fff;
  border-radius: 50%;
  z-index: 0;
}

/* Firmenlogo */
.identity-logo {
  position: absolute;

  /* Logo horizontal:
     größerer Wert = weiter nach rechts */
  left: 130px;

  /* Logo vertikal:
     größerer Wert = weiter nach unten */
  top: 1px;

  /* Aktuelle Darstellungsgröße des Logos */
  width: 152px;
  height: 74px;

  object-fit: contain;
  object-position: 50% 50%;
  background: transparent;
  padding: 0;
  z-index: 1;
}

/* Block mit "Elektro-Service" und "ALLER ART" */
.identity-name {
  position: absolute;

  /* Firmenname horizontal */
  left: 0;

  /* Firmenname vertikal */
  top: 76px;

  width: 430px;
  line-height: .88;
  text-align: left;
}

/* Große Zeile "Elektro-Service" */
.identity-name span {
  display: block;
  color: var(--green-dark);

  /* Schriftgröße Elektro-Service */
  font-size: 3.25rem;

  font-weight: 900;
  letter-spacing: -.055em;
  white-space: nowrap;
}

/* Kleine Zeile "ALLER ART" */
.identity-name small {
  display: block;
  color: #111;
  letter-spacing: .36em;

  /* Schriftgröße ALLER ART */
  font-size: .92rem;

  font-weight: 900;
  text-align: center;

  /* Abstand nach oben */
  margin-top: 8px;

  width: 315px;
}

/* Telefonnummer, E-Mail und Adresse */
.contact-line {
  position: absolute;

  /* Linke Startposition des gesamten Kontaktblocks */
  left: 510px;

  /* Abstand vom rechten Rand */
  right: 130px;

  /* Vertikale Position des Kontaktblocks */
  top: 91px;

  display: grid;
  grid-template-columns: max-content max-content max-content;

  /* Abstand Telefon / E-Mail / Adresse */
  gap: 24px;

  align-items: start;
  justify-content: start;

  /* Schriftgröße Kontaktdaten */
  font-size: .77rem;

  color: #26364c;
  line-height: 1.25;
}

/* Telefon- und E-Mail-Link ohne Unterstreichung */
.contact-line a {
  text-decoration: none;
  white-space: nowrap;
}

/* Adresse nicht umbrechen */
.contact-line > span {
  white-space: nowrap;
}

/* Kleine grüne Symbole vor Telefon, Mail, Adresse */
.contact-line span span,
.contact-line a span {
  color: var(--green);
  font-size: 1.12rem;
  font-weight: 700;
}

/* 30-Jahre-Jubiläumszeichen */
.jubilee {
  position: absolute;

  /* Abstand von rechts */
  right: 19px;

  /* Abstand von oben */
  top: 10px;

  width: 92px;
  height: 92px;

  border: 2px solid #d9aa49;
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: #fffdf8;
  color: #9d6a18;
  line-height: .9;

  box-shadow:
    inset 0 0 0 3px #fff,
    0 2px 8px rgba(83, 57, 13, .12);
}

/* Große Zahl "30" */
.jubilee strong {
  font-size: 2.25rem;
}

/* Wort "JAHRE" */
.jubilee > span:not(.laurel) {
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .06em;
}

/* Jahresangabe */
.jubilee small {
  font-size: .46rem;
  font-weight: 800;
  margin-top: 4px;
}

/* Linker Lorbeer */
.laurel {
  position: absolute;
  left: -10px;
  color: #cf9428;
  font-size: 1.9rem;
  transform: rotate(-35deg);
}

/* Rechter Lorbeer */
.laurel.right {
  left: auto;
  right: -10px;
  transform: scaleX(-1) rotate(-35deg);
}


/* =========================================================
   4. NAVIGATION
   ========================================================= */

/* Grüner Navigationsbalken */
.nav-bar {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  border-top: 1px solid rgba(255, 255, 255, .35);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}

/* Ausrichtung der Menüpunkte */
.nav-bar nav {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-wrap: nowrap;
}

/* Einzelne Menüeinträge */
.nav-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: .82rem;
  padding: 8px 13px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Aktiver Menüpunkt / Hover */
.nav-bar a:hover,
.nav-bar a:focus,
.nav-bar a.active {
  background: #fff;
  color: var(--green-dark);
}



/* =========================================================
   4A. MOBILE NAVIGATION AUF DESKTOP AUSBLENDEN
   =========================================================
   Die Smartphone-Navigation besitzt ein eigenes Hamburger-Menü.
   Auf Desktop- und Tabletbreiten oberhalb von 760 Pixel bleibt
   ausschließlich die normale Hauptnavigation sichtbar.
   ========================================================= */
/*
   Wichtig: Die Regel ist absichtlich genauer als ".nav-bar nav" weiter oben.
   Dadurch kann die allgemeine Desktop-Regel "display:flex" das mobile
   Menü nicht versehentlich wieder sichtbar machen.
*/
.nav-bar nav.mobile-nav {
  display: none;
}

/* =========================================================
   5. HERO / BANNER
   Großes Kabeltrommelbild und Textkasten
   ========================================================= */

/* Gesamter Bannerbereich */
.hero {
  position: relative;

  /* Höhe des Banners */
  height: 304px;

  overflow: hidden;
  background: #ddd;
}

/* Festes Hintergrundbild */
.hero-photo {
  position: absolute;
  inset: 0;

  background-image: url('assets/hero-kabelverlegung.jpg');

  /* Bild füllt den Bereich */
  background-size: cover;

  /* Bildausschnitt innerhalb des Banners */
  background-position: center 49%;
}

/* Leichte Aufhellung auf der linken Bildseite */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, .05),
    rgba(255, 255, 255, 0) 52%
  );
}

/* Bezugsebene für Banner-Inhalt */
.hero-content {
  position: relative;
  z-index: 2;
  height: 304px;
}

/* Weiß-transparenter Textkasten im Banner */
.hero-card {
  position: absolute;

  /* Abstand vom linken Rand */
  left: 20px;

  /* Abstand vom oberen Rand */
  top: 62px;

  /* Breite des Kastens */
  width: 348px;

  /* Transparenter weißer Hintergrund */
  background: rgba(255, 255, 255, .93);

  /* Innenabstand */
  padding: 14px 14px 15px;

  box-shadow: var(--shadow);
}

/* Hauptüberschrift im Banner */
.hero-card h1 {
  margin: 0 0 9px;
  color: var(--green-dark);

  /* Schriftgröße "Starke Technik ..." */
  font-size: 1.90rem;

  line-height: 1.04;
  letter-spacing: -.035em;
}

/* Beschreibungstext im Banner */
.hero-card p {
  margin: 0 0 13px;
  color: #1c2940;

  /* Schriftgröße Beschreibung */
  font-size: .82rem;

  line-height: 1.32;
}

/* Allgemeiner grüner Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  background: linear-gradient(90deg, var(--green-dark), var(--green));
  color: #fff;
  text-decoration: none;

  border-radius: 4px;
  padding: 11px 18px;

  font-weight: 900;
  font-size: .84rem;

  box-shadow: 0 4px 12px rgba(5, 123, 57, .16);
}

/* Button bei Mausberührung */
.btn:hover {
  background: var(--green-deep);
}


/* =========================================================
   6. LEISTUNGSBEREICHE
   ========================================================= */

.services,
.modernize,
.projects {
  background: #fff;
}

.services {
  padding: 12px 0 18px;
}

/* Überschriftenbereich */
.section-heading {
  margin-bottom: 10px;
}

/* Zweispaltige Überschrift */
.split-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
}

/* Große Abschnittsüberschriften */
.section-heading h2,
.projects-head h2 {
  margin: 0;
  font-size: 2.16rem;
  line-height: 1.03;
  letter-spacing: -.04em;
}

/* Grüne Hervorhebung innerhalb der Überschriften */
.section-heading h2 span,
.projects-head h2 span {
  color: var(--green-dark);
}

/* Beschreibung rechts neben Leistungsüberschrift */
.section-heading p {
  margin: 0;
  color: #40516c;
  font-size: .78rem;
  line-height: 1.4;
}

/* 4 Spalten für die Leistungsbilder */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

/* Einzelne Leistungskachel */
.service-card {
  position: relative;
  height: 162px;
  overflow: hidden;
  background: #28332d;
}

/* Bild in der Leistungskachel */
.service-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dunkler Verlauf unten für bessere Lesbarkeit */
.service-card::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(
    transparent,
    rgba(14, 23, 20, .96)
  );
}

/* Text unten in einer Leistungskachel */
.service-caption {
  position: absolute;
  z-index: 2;
  left: 10px;
  right: 9px;
  bottom: 9px;

  color: #fff;

  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 7px;
  align-items: start;
}

/* Symbol in einer Leistungskachel */
.service-caption .icon {
  font-size: 1.45rem;
  line-height: 1.1;
}

/* Titel einer Leistung */
.service-caption h3 {
  margin: 0 0 2px;
  font-size: .78rem;
  line-height: 1.12;
}

/* Kleiner Beschreibungstext */
.service-caption p {
  margin: 0;
  font-size: .65rem;
  line-height: 1.28;
  color: #fff;
}

/* Spezielle dunkle Shop-Kachel */
.service-shop {
  background: linear-gradient(135deg, #5e6762, #353c38);
}

/* Großes transparentes Warenkorb-Symbol */
.service-shop .shop-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 4.1rem;
  filter: grayscale(1);
  opacity: .2;
}

/* Klickfläche über der gesamten Shop-Kachel */
.service-shop > a {
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* Weißes Blitz-Symbol bei Elektroinstallation
   ---------------------------------------------------------
   width  = Breite des Blitzes
   height = Höhe des Blitzes

   Wenn der Blitz größer werden soll, beide Werte erhöhen,
   z. B. auf 22px oder 24px.
*/
.icon-blitz{
  width:20px;
  height:20px;
  display:block;
  fill:#fff;
}

/* Stellt zusätzlich sicher, dass der eigentliche
   SVG-Pfad weiß dargestellt wird. */
.icon-blitz path{
  fill:#fff;
}


/* =========================================================
   7. MODERNISIERUNG / VORHER-NACHHER
   ========================================================= */

.modernize {
  padding: 5px 0 16px;
}

/* Grünes Wort innerhalb der Überschrift */
.modern-heading h2 b {
  color: var(--green-dark);
  font-weight: 700;
}

.modern-heading p {
  margin-top: 2px;
}

/* Hauptaufteilung:
   links Vorher/Nachher, rechts Textkasten */
.modern-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) 260px;
  gap: 13px;
  align-items: stretch;
}

/* Vorher/Nachher nebeneinander */
.comparison {
  display: grid;
  grid-template-columns: 1fr 44px 1fr;
  align-items: center;
  min-width: 0;
}

/* Bildrahmen Vorher/Nachher */
.comparison figure {
  position: relative;
  margin: 0;
  height: 246px;
  overflow: hidden;
  background: #eee;
  box-shadow: var(--shadow);
}

/* Vorher/Nachher Bilder */
.comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Kleine Beschriftung "Vorher" / "Nachher" */
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;

  color: #fff;
  padding: 6px 11px;
  border-radius: 4px;

  font-size: .68rem;
  font-weight: 900;
}

/* Farbe "Vorher" */
.tag.before {
  background: #3d433f;
}

/* Farbe "Nachher" */
.tag.after {
  background: var(--green);
}

/* Runde Pfeilfläche zwischen den Bildern */
.compare-arrow {
  position: relative;
  z-index: 3;

  width: 44px;
  height: 44px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  background: #fff;
  color: var(--green);
  border: 2px solid var(--green);

  font-size: 2.25rem;
  line-height: 1;
  margin: 0 -1px;

  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

/* Rechter Informationstext */
.modern-copy {
  background: linear-gradient(135deg, #f0faf3, #e2f3e8);
  padding: 21px 20px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Überschrift im Modernisierungs-Textkasten */
.modern-copy h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 1.45rem;
  line-height: 1.02;
}

/* Text im Modernisierungs-Textkasten */
.modern-copy p {
  margin: 0 0 16px;
  color: #40516c;
  font-size: .78rem;
  line-height: 1.42;
}

/* Button etwas kompakter */
.modern-copy .btn {
  align-self: flex-start;
  padding: 10px 15px;
}


/* =========================================================
   8. PROJEKTGALERIE
   ========================================================= */

.projects {
  padding: 0 0 14px;
}

/* Überschrift + Referenzen-Link */
.projects-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

/* Überschrift Projektbereich */
.projects-head h2 {
  font-size: 1.75rem;
}

/* Link "Weitere Referenzen" */
.projects-head > a {
  color: var(--green-dark);
  text-decoration: none;
  border: 1px solid var(--green);
  padding: 7px 12px;
  border-radius: 4px;
  font-weight: 800;
  font-size: .68rem;
}

/* 5 Projektbilder nebeneinander */
.project-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
}

/* Einzelnes Projektbild */
.project-grid figure {
  position: relative;
  margin: 0;
  height: 143px;
  overflow: hidden;
  background: #eee;
}

/* Bildformat */
.project-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text erscheint beim Darüberfahren */
.project-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 18px 9px 7px;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;

  background: linear-gradient(
    transparent,
    rgba(0, 0, 0, .72)
  );

  opacity: 0;
  transition: .2s;
}

/* Projektbeschreibung sichtbar bei Hover */
.project-grid figure:hover figcaption {
  opacity: 1;
}


/* =========================================================
   9. VERTRAUENSLEISTE / KONTAKTAUFRUF
   ========================================================= */

.trust {
  background: linear-gradient(180deg, #fff, #f0f6f2);
  border-top: 1px solid #e0ebe4;
}

/* Vier Bereiche nebeneinander */
.trust-grid {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr auto;
  gap: 18px;
  align-items: center;
}

/* Inhalt je Vertrauenspunkt */
.trust-grid > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Grüne Symbole */
.trust-icon {
  color: var(--green);
  font-size: 1.75rem;
  font-weight: 900;
}

.trust-grid p {
  margin: 0;
}

/* Haupttext */
.trust-grid strong {
  display: block;
  font-size: .72rem;
}

/* Zusatztext */
.trust-grid small {
  display: block;
  color: #4e5968;
  margin-top: 2px;
  font-size: .64rem;
}

/* Kontaktbutton */
.trust .btn {
  white-space: nowrap;
  padding: 10px 16px;
}


/* =========================================================
   10. FOOTER
   ========================================================= */

footer {
  background: linear-gradient(90deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 13px 0;
  font-size: .68rem;
}

/* Footer-Inhalte links und rechts */
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

/* Footer-Links */
.footer-row a {
  color: #fff;
  text-decoration: none;
}

.footer-row a:hover {
  text-decoration: underline;
}


/* =========================================================
   11. IMPRESSUM / DATENSCHUTZ
   ========================================================= */

.legal {
  padding: 44px 0;
}

/* Weißer Inhaltskasten */
.legal article {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px);
  max-width: 920px;
  margin: auto;
}

/* Seitentitel */
.legal h1 {
  font-size: 2.5rem;
  margin-top: 0;
}

/* Zwischenüberschriften */
.legal h2 {
  margin-top: 30px;
}

/* Gelber Hinweisblock */
.legal .notice {
  background: #fff7df;
  border: 1px solid #f0d888;
  padding: 14px;
  border-radius: 10px;
}


/* =========================================================
   12. RESPONSIVE ANPASSUNGEN BIS 900 PX
   Tablet / kleinere Fenster
   ========================================================= */

@media (max-width: 900px) {

  .page-frame {
    width: 100%;
  }

  .identity-wrap {
    height: 168px;
  }

  .identity {
    height: 168px;
  }

  .identity-main {
    left: 25px;
  }

  /* Kontaktdaten bei kleineren Bildschirmbreiten */
  .contact-line {
    left: 470px;
    right: 100px;
    top: 100px;
    gap: 12px;
    font-size: .69rem;
  }

  .jubilee {
    right: 12px;
  }

  /* Leistungsbereiche jetzt 2-spaltig */
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Modernisierung untereinander */
  .modern-layout {
    grid-template-columns: 1fr;
  }

  /* Projekte 3-spaltig */
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Vertrauensleiste 2-spaltig */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   MODERNISIERUNG – TEXTFELD WIE DER WEISSE HERO-TEXTKASTEN
   =========================================================
   Diese Regeln ändern ausschließlich den rechten Textkasten
   „Modernisierung mit System“.

   Hintergrund: Weiß
   Überschrift: Grün
   Beschreibungstext: Schwarz

   Die vorhandene Anordnung, Größe und Abstände des Kastens
   bleiben erhalten.
*/
.modern-copy{
  background:#fff;
}

/* Überschrift „Modernisierung mit System“ */
.modern-copy h3{
  color:var(--green-dark);
}

/* Beschreibung unter der Überschrift */
.modern-copy p{
  color:#1c2940;
  margin-bottom:0;
}

/* =========================================================
   13. KONTAKTSEITE / KONTAKTFORMULAR
   =========================================================
   Die Kontaktseite verwendet dieselbe styles.css wie alle
   übrigen Seiten. Die Smartphone-Abweichungen stehen separat
   in mobile.css.
   ========================================================= */

.contact-page {
  padding: 36px 0 46px;
  background: #f5f7f6;
}

.contact-intro {
  max-width: 790px;
  margin: 0 0 28px;
}

.contact-intro h1 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 2.1rem;
  line-height: 1.15;
}

.contact-intro p {
  margin: 0;
  color: #1c2940;
  line-height: 1.6;
}

/* Formular links, direkte Kontaktdaten rechts. */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
  gap: 24px;
  align-items: start;
}

.contact-form-box,
.contact-direct {
  background: #fff;
  padding: 26px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.contact-form-box h2,
.contact-direct h2 {
  margin: 0 0 20px;
  color: var(--green-dark);
}

/* Alle normalen Eingabefelder stehen bewusst untereinander. */
.form-row {
  display: block;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
  color: #1c2940;
}

/*
   Einheitliche Größe aller normalen Textfelder.
   min-height: 50px macht die Felder deutlich großzügiger
   als in der bisherigen Version.
*/
.form-field input,
.form-field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #aeb8b3;
  border-radius: 3px;
  background: #fff;
  color: #17221c;
  font: inherit;
}

.form-field input {
  min-height: 50px;
}

/* Nachrichtenfeld: gleiche Breite, aber deutlich größer. */
.form-field textarea {
  min-height: 230px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 5px 0 11px;
  color: #26332d;
  font-size: .88rem;
  line-height: 1.45;
}

.privacy-check input {
  margin-top: 4px;
  flex: 0 0 auto;
}

.privacy-check a,
.contact-direct a {
  color: var(--green-dark);
  font-weight: 700;
}

.required-note {
  margin: 8px 0 15px;
  font-size: .8rem;
  color: #66706b;
}

.contact-submit {
  border: 0;
  cursor: pointer;
  font: inherit;
}

/*
   Spam-Schutz / Honeypot:
   Für echte Besucher vollständig unsichtbar. Automatisierte
   Bots können das Feld im Quelltext trotzdem erkennen und
   versehentlich ausfüllen.
*/
.hp-field {
  display: none !important;
}

.contact-direct p {
  line-height: 1.55;
}

.contact-note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #dfe5e2;
  font-size: .88rem;
  color: #56615c;
}

/* Rückmeldung nach dem PHP-Mailversand. */
.contact-result {
  min-height: 420px;
  padding: 44px 0;
  background: #f5f7f6;
}

.contact-result-box {
  max-width: 680px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.contact-result-box h1 {
  color: var(--green-dark);
}

.contact-result-box.error {
  border-left: 5px solid #8d2525;
}

.contact-result-box.success {
  border-left: 5px solid var(--green);
}



/* =========================================================
   KONTAKTFORMULAR: RÜCKMELDUNG NACH DEM ABSENDEN
   =========================================================
   Diese Regeln gestalten die PHP-Erfolgs- bzw. Fehlerseite.
   Ziel: Der Besucher bleibt optisch vollständig im Design
   der Website und erkennt sofort, ob der Versand geklappt hat.
   ========================================================= */

/* Die eigentliche Rückmeldekarte bleibt mittig und gut lesbar. */
.contact-result-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 34px 36px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

/* Grüner bzw. roter Rand zeigt den Versandstatus zusätzlich optisch. */
.contact-result-box.success {
  border-left: 6px solid var(--green);
}

.contact-result-box.error {
  border-left: 6px solid #a52a2a;
}

/* Statuszeile oberhalb der Überschrift: Symbol + kurzer Statustext. */
.contact-result-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

/* Rundes Statussymbol. */
.contact-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.contact-result-box.success .contact-result-icon {
  background: var(--green);
}

.contact-result-box.error .contact-result-icon {
  background: #a52a2a;
}

.contact-result-label {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #435049;
}

.contact-result-box h1 {
  margin: 0 0 14px;
  color: var(--green-dark);
  line-height: 1.18;
}

.contact-result-box.error h1 {
  color: #842020;
}

.contact-result-message {
  margin: 0 0 12px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: #1c2940;
}

/* Zusatzhinweis mit Telefonnummer bzw. Hinweis nach erfolgreichem Versand. */
.contact-result-help {
  margin: 0 0 24px;
  color: #4b5751;
  line-height: 1.55;
}

.contact-result-help a {
  color: var(--green-dark);
  font-weight: 800;
}

/* Beide Rückkehrmöglichkeiten stehen auf dem Desktop nebeneinander. */
.contact-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Zweite Schaltfläche bewusst etwas zurückhaltender. */
.btn-secondary {
  background: #eef3f0;
  color: var(--green-dark);
  border: 1px solid #cbd8d1;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #e2ebe6;
}
