/* ============================================================================
   Gebrüder Transport OG – eigene Styles
   Wird NACH main.css geladen und überschreibt gezielt Teile des Templates.
   main.css bleibt unverändert, damit Template-Updates weiter einspielbar sind.
   ============================================================================ */

:root {
  /* Blau bleibt die Markenfarbe, aber etwas tiefer und weniger grell */
  --accent-color: #1b4fd8;
  --heading-color: #0e1d34;

  /* Handlungsfarbe: Bernstein aus der Verkehrs- und Halteverbotsbeschilderung.
     Wird ausschließlich für Aktionen verwendet – nie dekorativ. */
  --action-color: #e08700;
  --action-color-dark: #c47600;

  --ink: #0e1d34;
  --muted: #5b6879;
  --line: #e3e8ef;

  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(14, 29, 52, .06);
  --shadow-md: 0 10px 30px -12px rgba(14, 29, 52, .22);
}

body {
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  letter-spacing: -0.015em;
  line-height: 1.2;
}

p { max-width: 68ch; }
.text-center p { margin-left: auto; margin-right: auto; }

/* Sichtbarer Tastaturfokus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--action-color);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
}
.skip-link:focus { left: 0; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------------------------------------------------------- Buttons */
.btn-primary-solid,
.btn-primary-ghost,
.btn-cta-solid,
.btn-cta-ghost,
.btn-quote {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: var(--radius);
  transition: background-color .25s, color .25s, border-color .25s;
  border: 2px solid transparent;
}

.btn-primary-solid,
.btn-cta-solid,
.btn-quote {
  background: var(--action-color);
  color: #fff;
}
.btn-primary-solid:hover,
.btn-cta-solid:hover,
.btn-quote:hover {
  background: var(--action-color-dark);
  color: #fff;
}

.btn-primary-ghost {
  border-color: currentColor;
  color: var(--accent-color);
}
.btn-primary-ghost:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.btn-cta-ghost {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  margin-left: 8px;
}
.btn-cta-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-quote { padding: 9px 20px; margin-left: 24px; }

.link-more {
  font-weight: 600;
  border-bottom: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
  padding-bottom: 2px;
}
.link-more:hover { border-color: var(--accent-color); }

/* ------------------------------------------------------- Topbar & Header */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 38px;
  background: #08131f;
  color: rgba(255, 255, 255, .75);
  font-size: 13.5px;
  line-height: 38px;
  z-index: 998;
  transition: transform .35s;
}
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.scrolled .topbar { transform: translateY(-100%); }

@media (min-width: 992px) {
  .header { top: 38px; transition: top .35s, padding .35s, background-color .35s; }
  .scrolled .header { top: 0; }
}

/* Auf Unterseiten gibt es keinen dunklen Hero – Kopf muss deckend sein */
body.subpage .header { --background-color: #0e1d34; }
.scrolled .header { --background-color: rgba(14, 29, 52, .97); }

.header .logo img { max-height: 58px; }
.scrolled .header .logo img { max-height: 46px; }

@media (max-width: 1199px) {
  .header .logo img { max-height: 46px; }
}

/* ------------------------------------------------------------- Seitenkopf */
.page-head {
  background: linear-gradient(135deg, #0e1d34 0%, #16305a 100%);
  color: #fff;
  padding: 150px 0 56px;
}
@media (min-width: 992px) { .page-head { padding-top: 180px; } }

.page-head h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0;
}
.page-head .lead {
  color: rgba(255, 255, 255, .8);
  font-size: 1.05rem;
  margin: 14px 0 0;
  max-width: 60ch;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
}
.crumbs li + li::before {
  content: "›";
  padding: 0 8px;
  color: rgba(255, 255, 255, .4);
}
.crumbs a { color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; }

/* -------------------------------------------------------------- Startseite */
.hero { padding: 150px 0 70px; min-height: 0; }
@media (min-width: 992px) { .hero { padding-top: 190px; } }
.hero .container { padding-top: 0; }

.hero-eyebrow {
  color: var(--action-color);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.hero .hero-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-actions .btn-primary-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero-actions .btn-primary-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 26px;
}
.hero-stats strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.hero-stats span {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}
@media (max-width: 575px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
}

.trust-bar {
  background: var(--ink);
  padding: 0;
  border-top: 3px solid var(--action-color);
}
.trust-bar ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0;
  padding: 18px 0;
  gap: 12px;
  color: rgba(255, 255, 255, .85);
  font-size: 14.5px;
}
.trust-bar i { color: var(--action-color); margin-right: 8px; }
@media (max-width: 767px) {
  .trust-bar ul { grid-template-columns: 1fr; padding: 16px 0; gap: 8px; }
}

/* ------------------------------------------------------- Leistungs-Karten */
.service-card {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--default-color);
  transition: border-color .25s, box-shadow .25s;
}
.service-card:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  box-shadow: var(--shadow-md);
  color: var(--default-color);
}
.service-card .card-img { overflow: hidden; }
.service-card .card-img img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .4s;
}
.service-card:hover .card-img img { transform: scale(1.04); }
.service-card .card-body { padding: 24px 26px 28px; }
.service-card h2,
.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 14px;
}
.service-card .more {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--accent-color);
}

/* ------------------------------------------------------------------ Ablauf */
.process-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.process-steps li {
  counter-increment: step;
  border-top: 3px solid var(--line);
  padding-top: 20px;
}
.process-steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--action-color);
  margin-bottom: 8px;
}
.process-steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.process-steps p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 991px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .process-steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Preis-Teaser */
.price-teaser {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-color);
  border-radius: var(--radius);
  padding: 30px;
  height: 100%;
}
.price-teaser .label {
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}
.price-teaser strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.1;
}
.price-teaser strong small { font-size: 15px; font-weight: 400; color: var(--muted); }
.price-teaser p { font-size: 15px; color: var(--muted); margin: 12px 0 0; }

.express-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--action-color), transparent 88%);
  color: var(--action-color-dark);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius);
  margin-bottom: 30px;
}

.pricing .pricing-item { border-top: 4px solid var(--line); }
.pricing .pricing-item.featured { border-top-color: var(--action-color); }
.pricing .pricing-item h2 { font-size: 20px; font-weight: 600; margin-bottom: 15px; }
.pricing .buy-btn { border-color: var(--accent-color); }
.pricing .featured .buy-btn { background: var(--action-color); border-color: var(--action-color); color: #fff; }
.pricing .featured .buy-btn:hover { background: var(--action-color-dark); border-color: var(--action-color-dark); }

/* ------------------------------------------------------------- Textblöcke */
.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 16px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 16px; }

.check-list { list-style: none; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 16px;
  height: 8px;
  border-left: 2.5px solid var(--action-color);
  border-bottom: 2.5px solid var(--action-color);
  transform: rotate(-45deg);
}

.link-columns {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-weight: 600;
}

.fact-box,
.sidebar-box {
  background: #f4f6f9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.fact-box h3,
.sidebar-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.fact-box dl { margin: 0 0 22px; }
.fact-box dt { font-size: 13px; color: var(--muted); font-weight: 500; }
.fact-box dd { margin: 0 0 12px; font-weight: 600; }
.sidebar-box p { font-size: 15px; color: var(--muted); }

.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav li + li { border-top: 1px solid var(--line); }
.side-nav a {
  display: block;
  padding: 10px 0 10px 14px;
  border-left: 3px solid transparent;
  color: var(--default-color);
  font-size: 15px;
}
.side-nav a:hover { border-left-color: color-mix(in srgb, var(--accent-color), transparent 50%); }
.side-nav a.active {
  border-left-color: var(--action-color);
  font-weight: 700;
  color: var(--heading-color);
}

.legal h2 { font-size: 1.3rem; }
.legal dt { font-weight: 600; }

.service-detail img.rounded { border-radius: var(--radius) !important; }

/* --------------------------------------------------------------- Kontakt */
.contact .info-item h2 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.contact .info-item .small { color: var(--muted); font-size: 13px; }
.contact .info-item + .info-item { margin-top: 28px; }

.form-heading { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.form-intro { color: var(--muted); margin-bottom: 24px; }

.php-email-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--heading-color);
}
.php-email-form .form-control {
  border-radius: var(--radius);
  padding: 11px 14px;
  border: 1px solid var(--line);
}
.php-email-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 88%);
}
.php-email-form select.form-control { appearance: auto; }

.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.form-consent input { margin-top: 5px; flex-shrink: 0; }
.form-consent label { font-weight: 400; font-size: 14px; color: var(--muted); }

.php-email-form button[type=submit] {
  background: var(--action-color);
  font-weight: 600;
  padding: 13px 34px;
  border-radius: var(--radius);
}
.php-email-form button[type=submit]:hover { background: var(--action-color-dark); }

.map-section { line-height: 0; }
.map-placeholder { background: #f4f6f9; border-top: 1px solid var(--line); line-height: 1.6; }

/* ------------------------------------------------------------------- FAQ
   Auf /faq sind die Fragen h2 (unter der h1 der Seite), auf der Startseite h3.
   main.css kennt nur h3 – hier kommen dieselben Regeln für h2 dazu. */
.faq .faq-container .faq-item h2 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 32px;   /* Platz für Frage-Icon links und Pfeil rechts */
  transition: color .3s;
  cursor: pointer;
}
.faq .faq-container .faq-item h2:hover { color: var(--accent-color); }

/* Aufgeklappt ist der Hintergrund dunkel – die Frage muss hell werden,
   sonst steht dunkle Schrift auf dunklem Grund. */
.faq .faq-container .faq-active h2,
.faq .faq-container .faq-active h2:hover {
  color: var(--contrast-color);
}

/* ------------------------------------------------------------- CTA-Band */
.cta-band {
  background: linear-gradient(135deg, #0e1d34 0%, #16305a 100%);
  color: #fff;
  padding: 54px 0;
}
.cta-band h2 { color: #fff; font-size: 1.7rem; font-weight: 700; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; font-size: 15.5px; }
@media (max-width: 991px) {
  .cta-band .btn-cta-ghost { margin: 10px 0 0; display: inline-block; }
}

/* --------------------------------------------------------------- Footer */
.footer .footer-about .logo span { font-size: 22px; }
.footer .footer-links ul li { padding: 6px 0; }
.footer address { font-style: normal; margin-bottom: 12px; }
.footer .footer-legal a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 0 10px;
}
.footer .footer-legal a:hover { color: var(--default-color); }

/* ------------------------------------------------- Mobile Aktionsleiste */
.action-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 999;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.action-bar a {
  padding: 13px 4px;
  text-align: center;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
}
.action-bar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
.action-bar a.wa { color: #6ee7a0; }
.action-bar i { display: block; font-size: 18px; margin-bottom: 2px; }

@media (max-width: 991px) {
  body { padding-bottom: 62px; }
  .scroll-top { bottom: 74px; }
}

/* Der schwebende WhatsApp-Button ist auf Mobilgeräten durch die
   Aktionsleiste ersetzt – dort wäre er doppelt und verdeckt Inhalte. */
.whatsapp-float { bottom: 70px; }
