/* SOFORTWERKER24 — eigenständiges Stylesheet, keine Verbindung zu anderen Projekten */

:root {
  /* ADAC-Prinzip uebernommen: EINE dominante Flaechenfarbe (Babyblau statt
     Gelb) + hoher Textkontrast (Navy statt Schwarz) + eine einzige, klar
     reservierte Signalfarbe fuer den wichtigsten Call-to-Action (Orange,
     ausschliesslich fuer "Jetzt anrufen"). Navy/Blue-Dark bleiben nur noch
     fuer Footer und Text-auf-Hell erhalten, sind aber keine Flaechenfarbe
     mehr - das uebernimmt jetzt Babyblau ueberall im Seitenraster. */
  --sw24-babyblue: #8ed0f0;
  --sw24-babyblue-deep: #4fa8d8;
  --sw24-babyblue-pale: #eaf6fd;
  --sw24-navy: #0a2540;
  --sw24-navy-dark: #05111f;
  --sw24-accent: #fe6002;
  --sw24-accent-dark: #d94f00;
  --sw24-accent-light: #ff8a3d;
  --sw24-gray-900: #101820;
  --sw24-gray-700: #46525e;
  --sw24-gray-400: #8b98a5;
  --sw24-gray-200: #e3e8ec;
  --sw24-gray-100: #f5f6f8;
  --sw24-white: #ffffff;
  --sw24-radius: 10px;
  --sw24-shadow: 0 2px 10px rgba(5, 17, 31, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--sw24-gray-900);
  background: var(--sw24-white);
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.sw24-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Bild-Platzhalter-Komponente: liegt ueberall dort, wo spaeter ein echtes
   Foto (siehe /images/-Ordner) eingesetzt werden soll. Das <img> liegt ueber
   dem grauen Platzhalter; laedt es erfolgreich, verdeckt es ihn komplett.
   Schlaegt das Laden fehl (Datei fehlt noch), blendet onerror das <img> aus
   und der Platzhalter mit Icon+Beschriftung wird sichtbar. Sobald der
   Nutzer eine echte Datei unter demselben Namen ablegt, erscheint sie somit
   automatisch - ohne Code-Aenderung. */
.sw24-imgbox {
  position: relative;
  overflow: hidden;
  background: var(--sw24-gray-200);
}

.sw24-imgbox img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.sw24-imgbox__placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 16px;
  background: linear-gradient(
    120deg,
    var(--sw24-babyblue-pale),
    var(--sw24-babyblue),
    var(--sw24-babyblue-deep),
    var(--sw24-babyblue),
    var(--sw24-babyblue-pale)
  );
  background-size: 200% 200%;
  animation: sw24-placeholder-pulse 3.5s ease-in-out infinite;
  border: 1px dashed var(--sw24-gray-400);
  color: var(--sw24-navy);
}

/* Sanfter Farbverlauf-Puls fuer alle Bild-Platzhalter, solange das echte
   Foto noch fehlt - reines CSS (background-position-Verschiebung), kein JS
   noetig. Ruhig/dezent gehalten (langer Zyklus, ease-in-out). */
@keyframes sw24-placeholder-pulse {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .sw24-imgbox__placeholder {
    animation: none;
  }
}

.sw24-imgbox__icon {
  font-size: 1.8rem;
  opacity: 0.8;
}

.sw24-imgbox__label {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 220px;
}

.sw24-imgbox__label code {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 400;
  opacity: 0.75;
}

/* Header - babyblauer Grund wie ADACs Kopfzeile, Navy-Text fuer Kontrast */
.sw24-header {
  background: var(--sw24-babyblue);
  color: var(--sw24-navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--sw24-shadow);
}

.sw24-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 12px;
}

.sw24-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--sw24-navy);
}

.sw24-logo__mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.sw24-logo__accent {
  color: var(--sw24-accent);
}

.sw24-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sw24-accent);
  color: var(--sw24-white);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.02rem;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(254, 96, 2, 0.4);
}

.sw24-header__phone:hover {
  filter: brightness(1.05);
}

/* Hero - vollflaechiges Foto (Platzhalter) mit Dunkel-Overlay fuer
   Textlesbarkeit, wie ADACs grossflaechiger Bild-Hero mit Overlay-CTA. */
.sw24-hero {
  position: relative;
  color: var(--sw24-white);
  padding: 0;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sw24-navy);
}

.sw24-hero__imgbox {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sw24-hero__imgbox .sw24-imgbox {
  position: absolute;
  inset: 0;
  height: 100%;
}

.sw24-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 17, 31, 0.55) 0%, rgba(5, 17, 31, 0.78) 100%);
}

/* Solange /images/hero.jpg noch fehlt, muss der Platzhalter trotz des
   Dunkel-Overlays (fuer spaetere echte Fotos) klar lesbar bleiben - daher
   eigene helle Farbgebung nur fuer den Hero-Platzhalter. */
.sw24-hero__imgbox .sw24-imgbox__placeholder {
  background: linear-gradient(
    120deg,
    var(--sw24-navy),
    var(--sw24-babyblue-deep),
    var(--sw24-navy-dark),
    var(--sw24-babyblue-deep),
    var(--sw24-navy)
  );
  background-size: 200% 200%;
  animation: sw24-placeholder-pulse 3.5s ease-in-out infinite;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--sw24-white);
  /* Text mittig im Hero wuerde mit der Ueberschrift kollidieren - Hinweis
     daher dezent oben links, ausser dem Weg. */
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  padding: 20px;
}

.sw24-hero__imgbox .sw24-imgbox__label {
  max-width: 240px;
  font-size: 0.72rem;
}

.sw24-hero h1 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.sw24-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 20px;
  text-align: center;
  width: 100%;
}

.sw24-hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.sw24-hero h1 {
  font-size: 2.2rem;
  margin: 0 0 14px;
  font-weight: 800;
}

.sw24-hero p {
  font-size: 1.1rem;
  color: var(--sw24-gray-200);
  max-width: 640px;
  margin: 0 auto 28px;
}

.sw24-hero .sw24-hero__availability {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 8px 18px;
  color: var(--sw24-white);
  font-weight: 700;
  font-size: 0.95rem;
  max-width: none;
  margin: 0 auto 20px;
}

.sw24-hero__price {
  max-width: 560px;
  margin: 0 auto 28px;
  background: rgba(254, 96, 2, 0.14);
  border: 1px solid rgba(254, 96, 2, 0.55);
  border-radius: var(--sw24-radius);
  padding: 14px 20px;
  color: var(--sw24-white);
  font-size: 1.05rem;
}

.sw24-hero__price strong {
  color: var(--sw24-accent-light);
  font-size: 1.2rem;
}

.sw24-hero__price-note {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--sw24-gray-200);
  font-weight: 400;
}

.sw24-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.sw24-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--sw24-radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.sw24-btn--call {
  background: var(--sw24-accent);
  color: var(--sw24-white);
  font-size: 1.2rem;
  padding: 19px 34px;
  box-shadow: 0 6px 18px rgba(254, 96, 2, 0.45);
}

.sw24-btn--call:hover {
  filter: brightness(1.05);
}

.sw24-btn--outline {
  background: transparent;
  color: var(--sw24-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.sw24-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* WhatsApp bewusst NICHT im ueblichen knalligen Gruen - dezent an die
   Navy/Orange-Markenfarben angepasst, damit es seriöser wirkt und der
   Anruf-Button klar der dominante Call-to-Action bleibt. */
.sw24-btn--whatsapp {
  background: transparent;
  color: var(--sw24-white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.sw24-btn--whatsapp:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sw24-icon-wa {
  flex-shrink: 0;
}

/* Sections - Babyblau/Weiss-Baenderung wie ADACs Gelb/Weiss-Streifen */
.sw24-section {
  padding: 56px 0;
}

.sw24-section--muted {
  background: var(--sw24-gray-100);
}

.sw24-section--babyblue {
  background: var(--sw24-babyblue);
}

.sw24-section--babyblue .sw24-section__title,
.sw24-section--babyblue .sw24-contact__info h2 {
  color: var(--sw24-navy);
}

.sw24-section--babyblue .sw24-section__subtitle {
  color: var(--sw24-navy);
  opacity: 0.85;
}

.sw24-section__title {
  font-size: 1.7rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 8px;
  color: var(--sw24-navy-dark);
}

.sw24-section__subtitle {
  text-align: center;
  color: var(--sw24-gray-700);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* Wiederkehrender Anruf-Button innerhalb von Abschnitten (kleiner als der
   Hero-CTA, aber immer noch ausschliesslich in Orange - siehe Farbregel:
   Orange ist reserviert fuer "Jetzt anrufen"). */
.sw24-section__cta {
  text-align: center;
  margin-top: 36px;
}

.sw24-btn--call-sm {
  background: var(--sw24-accent);
  color: var(--sw24-white);
  box-shadow: 0 4px 14px rgba(254, 96, 2, 0.4);
}

.sw24-btn--call-sm:hover {
  filter: brightness(1.05);
}

/* Kernbotschaft "Sie stehen nicht allein" - Foto + Kurzstatement nebeneinander
   statt Fliesstext-Absatz */
.sw24-claim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sw24-claim__imgbox {
  aspect-ratio: 4 / 3;
  border-radius: var(--sw24-radius);
}

.sw24-claim__text {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--sw24-navy-dark);
  margin: 0 0 20px;
}

@media (max-width: 780px) {
  .sw24-claim {
    grid-template-columns: 1fr;
  }
  .sw24-claim__text {
    text-align: center;
  }
}

/* Bildkarten-Raster: ersetzt die frueheren Icon+Absatz-Karten bei "So laeuft's
   ab" und "Warum wir" - ein Foto (Platzhalter) + max. ein Kurzsatz. */
.sw24-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.sw24-card {
  position: relative;
  background: var(--sw24-white);
  border-radius: var(--sw24-radius);
  overflow: hidden;
  box-shadow: var(--sw24-shadow);
  text-align: center;
}

.sw24-card__imgbox {
  aspect-ratio: 4 / 3;
}

.sw24-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sw24-navy);
  color: var(--sw24-white);
  font-size: 0.78rem;
  font-weight: 800;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.sw24-card__body {
  padding: 16px 18px 20px;
}

.sw24-card__body h3 {
  margin: 0;
  color: var(--sw24-navy-dark);
  font-size: 1.05rem;
}

/* Service area */
.sw24-area {
  text-align: center;
}

.sw24-area__map-placeholder {
  max-width: 420px;
  margin: 24px auto 0;
  background: var(--sw24-white);
  border: 1px dashed var(--sw24-gray-400);
  border-radius: var(--sw24-radius);
  padding: 30px;
  color: var(--sw24-gray-700);
}

/* Ratgeber-Links */
.sw24-ratgeber-list {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 24px;
}

.sw24-ratgeber-list li {
  border-bottom: 1px solid var(--sw24-gray-200);
  padding: 10px 0;
}

.sw24-ratgeber-list a {
  color: var(--sw24-navy);
  text-decoration: none;
  font-weight: 600;
}

.sw24-ratgeber-list a:hover {
  text-decoration: underline;
}

/* FAQ */
.sw24-faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sw24-faq-item {
  background: var(--sw24-white);
  border: 1px solid var(--sw24-gray-200);
  border-radius: var(--sw24-radius);
  padding: 16px 20px;
}

.sw24-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--sw24-navy-dark);
  list-style: none;
}

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

.sw24-faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 18px;
  color: var(--sw24-navy);
  font-weight: 800;
}

.sw24-faq-item[open] summary::before {
  content: "–";
}

.sw24-faq-item p {
  margin: 12px 0 0 18px;
  color: var(--sw24-gray-700);
  font-size: 0.95rem;
}

/* Contact form */
.sw24-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 780px) {
  .sw24-contact {
    grid-template-columns: 1fr;
  }
}

.sw24-contact__info h2 {
  color: var(--sw24-navy-dark);
  font-size: 1.5rem;
  margin-top: 0;
}

.sw24-contact__phone-box {
  background: var(--sw24-navy-dark);
  color: var(--sw24-white);
  border-radius: var(--sw24-radius);
  padding: 22px;
  margin-top: 20px;
}

.sw24-contact__phone-box a {
  color: var(--sw24-white);
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  display: block;
  margin-top: 6px;
}

.sw24-form {
  background: var(--sw24-white);
  border: 1px solid var(--sw24-gray-200);
  border-radius: var(--sw24-radius);
  padding: 26px;
  box-shadow: var(--sw24-shadow);
}

.sw24-form__row {
  margin-bottom: 16px;
}

.sw24-form__row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--sw24-gray-900);
}

.sw24-form__row input,
.sw24-form__row select,
.sw24-form__row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--sw24-gray-200);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--sw24-gray-100);
}

.sw24-form__row input:focus,
.sw24-form__row select:focus,
.sw24-form__row textarea:focus {
  outline: 2px solid var(--sw24-babyblue-deep);
  outline-offset: 1px;
  background: var(--sw24-white);
}

.sw24-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sw24-form__radio {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  background: var(--sw24-gray-100);
  border: 1px solid var(--sw24-gray-200);
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  flex: 1 1 200px;
}

.sw24-form__radio input {
  width: auto !important;
  accent-color: var(--sw24-accent);
}

.sw24-form__submit {
  width: 100%;
  background: var(--sw24-navy);
  color: var(--sw24-white);
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.sw24-form__submit:hover {
  background: var(--sw24-babyblue-deep);
}

/* Schlichter, dezenter Lade-Indikator in Markenfarben - bewusst KEINE
   verspielte Logo-Animation, nur ein einfacher rotierender Ring. */
.sw24-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 2px;
  vertical-align: middle;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--sw24-accent);
  border-radius: 50%;
  animation: sw24-spin 0.7s linear infinite;
}

@keyframes sw24-spin {
  to { transform: rotate(360deg); }
}

.sw24-form__note {
  font-size: 0.82rem;
  color: var(--sw24-gray-700);
  margin-top: 10px;
}

.sw24-form__status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}

.sw24-form__status--success {
  display: block;
  background: #e5f5ea;
  color: #1c6b34;
  border: 1px solid #b6e0c3;
}

.sw24-form__status--error {
  display: block;
  background: #fce8e6;
  color: #a3271b;
  border: 1px solid #f3b8b1;
}

/* Footer */
.sw24-footer {
  background: var(--sw24-gray-900);
  color: var(--sw24-gray-200);
  padding: 32px 0;
  font-size: 0.9rem;
}

.sw24-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.sw24-footer a {
  color: var(--sw24-gray-200);
  text-decoration: none;
}

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

.sw24-footer__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Emergency banner (mobile sticky call bar) */
.sw24-sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sw24-navy-dark);
  padding: 10px 16px;
  z-index: 60;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25);
  display: none;
  gap: 10px;
}

.sw24-sticky-call a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--sw24-white);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.98rem;
  padding: 10px 8px;
  border-radius: 8px;
}

/* Anruf bleibt der dominante Call-to-Action (Markenfarbe, Schatten);
   WhatsApp bewusst dezent/outline statt knalliges Gruen. */
.sw24-sticky-call a.sw24-sticky-call__call {
  background: var(--sw24-accent);
  flex: 1.3;
  box-shadow: 0 3px 10px rgba(254, 96, 2, 0.45);
}

.sw24-sticky-call a.sw24-sticky-call__wa {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

@media (max-width: 640px) {
  .sw24-sticky-call {
    display: flex;
  }
  .sw24-hero h1 {
    font-size: 1.7rem;
  }
  /* Auf schmalen Displays wuerde der Hero-Platzhalter-Hinweis (oben links)
     sonst mit dem Badge kollidieren - etwas Abstand schaffen. */
  .sw24-hero__badge {
    margin-top: 56px;
  }
  body {
    padding-bottom: 66px;
  }
  /* Anruf-Button ist bereits in der Sticky-Leiste unten prominent
     vorhanden - der Header-Pill wuerde auf schmalen Displays nur
     ueberlaufen/umbrechen, ist hier also redundant. */
  .sw24-header__phone {
    display: none;
  }
}

/* Impressum page */
.sw24-legal {
  padding: 48px 0 64px;
  max-width: 780px;
  margin: 0 auto;
}

.sw24-legal h1 {
  color: var(--sw24-navy-dark);
}

.sw24-legal h2 {
  color: var(--sw24-navy-dark);
  font-size: 1.15rem;
  margin-top: 32px;
}

.sw24-legal .sw24-placeholder {
  color: var(--sw24-gray-400);
  font-style: italic;
}
