:root{
  --text:#0f172a;          /* slate-900 */
  --muted:#475569;         /* slate-600 */
  --line:rgba(15,23,42,.12);
  --accent:#2563eb;        /* blue-600 */
  --accent2:#38bdf8;       /* sky-400 */
  --shadow: 0 12px 30px rgba(15,23,42,.10);
  --radius:18px;
  --radius2:22px;
  --max:1120px;
  --bg:#f7fafc;            /* very light */
  --card:#ffffff;
  --card2:#f1f5f9;         /* slate-100 */
}


*{box-sizing:border-box}
html{scroll-behavior:smooth}
body {
margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  
  /* HIER DIE ÄNDERUNG: .png durch .webp ersetzen */
  background-image: 
    linear-gradient(rgba(247, 250, 252, 0.93), rgba(247, 250, 252, 0.93)), 
    url('AR_ALL_ROUND_logo.webp'), /* <-- Hier geändert */
    radial-gradient(900px 600px at 10% 0%, rgba(56,189,248,.18), transparent 60%),
    radial-gradient(700px 500px at 90% 10%, rgba(37,99,235,.12), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #ffffff 100%);
    
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover, 600px, auto, auto, auto;
  
  /* ZUSATZ: Hintergrundfarbe als Fallback, falls das Bild lädt */
  background-color: var(--bg);
}


a{color:inherit}
.container{
  width:min(var(--max), calc(100% - 2rem));
  margin-inline:auto;
}

/* Topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:30;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.7rem 0;
}
.badge{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  padding:.35rem .65rem;
  border:1px solid rgba(37,99,235,.18);
  border-radius:999px;
  color: var(--muted);
  font-size:.9rem;
  background: rgba(37,99,235,.06);
}
.brand{
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--text);
  margin-right: .6rem;
  white-space: nowrap;
}
.topbar__phone{
  text-decoration:none;
  font-weight:800;
  padding:.55rem .8rem;
  border:1px solid rgba(37,99,235,.22);
  border-radius:999px;
  background: rgba(37,99,235,.06);
}
.topbar__phone:hover{
  background: rgba(37,99,235,.10);
}

/* Hero */
.hero{ padding: 3.2rem 0 2.4rem; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 1.4rem;
  align-items:start;
}
.kicker{ color:var(--muted); letter-spacing:.02em; margin:0 0 .6rem; }
.hero h1{
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height:1.05;
  margin:.25rem 0 .8rem;
}
.hl{ color: var(--accent2); }
.sub{
  color: var(--muted);
  font-size:1.05rem;
  line-height:1.55;
  margin:0 0 1.0rem;
}
.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin: 0 0 .9rem;
}
.trust-row{
  list-style:none;
  padding:0;
  margin:.2rem 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:.8rem 1.1rem;
  color:var(--muted);
}

.quickfacts{
  list-style:none;
  padding: .85rem .9rem;
  margin: 0 0 1rem;
  display:grid;
  gap:.35rem;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  line-height:1.45;
}
.quickfacts strong{ color: var(--text); }

.mini-brands{
  margin-top: 1rem;
  padding: .75rem .9rem;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  line-height:1.45;
}
.mini-brands__label{ display:block; font-weight:800; color: var(--text); margin-bottom:.25rem; }
.mini-brands__list{ display:block; font-weight: bold; color: #0056b3;}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.card__title{margin:.1rem 0 .3rem; font-size:1.2rem}
.card__text{margin:0 0 .9rem; color:var(--muted); line-height:1.5}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  border-radius: 999px;
  padding: .8rem 1.05rem;
  font-weight: 800;
  text-decoration:none;
  border: 1px solid var(--line);
  cursor:pointer;
  background: transparent;
  color:var(--text);
}
.btn--primary{
  background: linear-gradient(90deg, rgba(37,99,235,1), rgba(56,189,248,1));
  color:#ffffff;
  border-color: transparent;
}

.btn--ghost{
  background: rgba(15,23,42,.04);
}

.btn--full{width:100%}

/* Form */
.form{display:grid; gap:.75rem}
label{display:grid; gap:.35rem; font-weight:700}
input, select, textarea{
  width:100%;
  border-radius: 14px;
  padding:.75rem .8rem;
  border:1px solid rgba(15,23,42,.16);
  background: #ffffff;
  color: var(--text);
  outline:none;
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(105,167,255,.7);
  box-shadow: 0 0 0 3px rgba(105,167,255,.18);
}
.fineprint{
  margin:.35rem 0 0;
  color: var(--muted);
  font-size:.9rem;
  line-height:1.35;
}
.muted{ color: var(--muted) }

/* Sections */
.section{padding: 2.6rem 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section h2{
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin: 0 0 .7rem;
}
.section__lead{
  margin: 0 0 1.2rem;
  color: var(--muted);
  line-height:1.6;
  font-size:1.05rem;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tile{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 6px 18px rgba(15,23,42,.06);
}

.tile h3{margin:.1rem 0 .5rem}
.tile p{margin:.1rem 0 .6rem; color: var(--muted); line-height:1.55}
.tile ul{margin:.2rem 0 0; padding-left: 1.05rem; color: var(--muted)}

.price__value{
  font-size: 2rem;
  font-weight: 900;
  margin: .25rem 0 .35rem;
  color: var(--accent2);
}

.note{
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: var(--radius);
  border:1px dashed rgba(155,210,255,.35);
  background: rgba(155,210,255,.07);
  color: var(--muted);
  line-height:1.55;
}

/* --- KORREKTUR: "So läufts ab" Boxen --- */
.steps {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem; /* Etwas mehr Luft zwischen den Schritten */
}

.steps li {
  display: grid;
  gap: .3rem;
  padding: 1.2rem 1.4rem;
  
  /* Hier die Fixes für den Kontrast: */
  background: var(--card);       /* Nutzt dein definiertes Weiß (#ffffff) */
  border: 1px solid var(--line); /* Gleiche Linie wie bei den Preis-Tiles */
  border-radius: var(--radius);
  
  /* Schatten für Tiefe (identisch zu den oberen Boxen) */
  box-shadow: 0 6px 18px rgba(15,23,42,.06); 
}

.steps strong {
  font-size: 1.1rem;
  color: var(--text);
}

.steps span {
  color: var(--muted);
  line-height: 1.5;
}

.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.big{font-size:1.4rem; margin:.4rem 0}
.phone{ font-weight:900; text-decoration:none; }

/* Footer */
/* Footer (Light, professionell) */
.footer{
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 1.2rem;
  align-items:start;
}

.footer strong{
  display:inline-block;
  font-size: 1.05rem;
  margin-bottom: .35rem;
}

.footer a{
  color: var(--accent);
  text-decoration: none;
}

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

.footer__links{
  display:grid;
  gap: .55rem;
}

.linklike{
  color: var(--accent);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.linklike:hover{
  text-decoration: underline;
}

/* Rechte Spalte: kleine Infobox/Meta */
.footer__fine{
  color: var(--muted);
  font-size: .95rem;
  text-align: right;
  line-height: 1.4;
}

/* Optional: dezente „Info Card“ im Footer */
.footer__box{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
  background: var(--card2);
}


/* Cookie Banner (Modal) */
.cookie{
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.35);
  z-index: 50;
  place-items: end center;
  padding: 1rem;
  display: none;
}
.cookie.is-open{ display:grid; }

.cookie__box{
  width: min(720px, 100%);
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(15,23,42,.18);
  padding: 1rem;
}

.cookie__text{ color: var(--muted); }

.cookie__actions{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-top:.8rem;
}
.cookie__prefs{
  margin-top: .9rem;
  padding-top: .9rem;
  border-top:1px solid var(--line);
  display:grid;
  gap:.7rem;
}
.cookie__prefs[hidden] { display: none !important; }

/* Jede Zeile: links Checkbox, rechts Text */
.pref{
  display:grid;
  grid-template-columns: 20px 1fr;
  align-items:center;
  gap:.75rem;
  color: var(--muted);
}

/* Checkbox sauber zentrieren + gleiche Größe */
.pref input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--accent2);
}

/* Label soll schön umbrechen */
.pref label{
  display:block;
  margin: 0;
  line-height: 1.35;
  font-weight: 700;
  color: var(--muted);
}

.pref label strong{
  color: var(--text);
}
.cookie__actions--prefs{margin-top:.2rem}

/* ============================================================
   VEREINTER RESPONSIVE BLOCK (TABLET & MOBILE)
   ============================================================ */

/* 1. Tablet & allgemeine mobile Ansicht (bis 980px) */
@media (max-width: 980px) {
  .hero__grid, 
  .grid3, 
  .grid2, 
  .contact,
  .footer__grid { 
    grid-template-columns: 1fr; 
  }

  .footer__fine { text-align: center; }
  
  .footer__links { 
    border-right: none; 
    padding: 0 0 1.5rem 0; 
    align-items: center;
  }
  
  .footer__about { 
    padding: 0; 
    text-align: center; 
  }
}

/* 2. Speziell für Smartphones (bis 640px) */
@media (max-width: 640px) {
  /* HIER IST DAS LOGO-FIX: */
  body {
    background-size: cover, 250px, auto, auto, auto; /* Logo auf 250px verkleinert */
    background-position: center center; /* Logo etwas höher schieben */
  }

  /* Firmenname ausblenden */
  .brand { display: none; }

  /* Header Anpassungen */
  .topbar__inner {
    flex-wrap: wrap;
    gap: .6rem;
    justify-content: center;
  }

  .badge {
    font-size: .85rem;
    padding: .3rem .55rem;
  }

  .topbar__phone {
    padding: .5rem .7rem;
    font-size: .95rem;
  }
  
  /* Hero-Text auf Mobile etwas kleiner */
  .hero h1 { font-size: 1.8rem; }
}
/* Floating "Nach oben" Button – stark & sichtbar */
.to-top{
  position: fixed;
  right: 22px;
  bottom: 22px;

  width: 58px;
  height: 58px;
  border-radius: 999px;

  /* stärkerer Kontrast */
  background: linear-gradient(
    135deg,
    rgba(105,167,255,.95),
    rgba(155,210,255,.95)
  );
  color: #041026;

  font-size: 22px;
  font-weight: 900;

  border: none;
  cursor: pointer;

  box-shadow:
    0 10px 25px rgba(0,0,0,.45),
    0 0 0 0 rgba(155,210,255,.6);

  display: grid;
  place-items: center;

  /* hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition:
    opacity .25s ease,
    transform .25s ease,
    visibility .25s ease,
    box-shadow .25s ease;

  z-index: 40;
}

/* sichtbar beim Scrollen */
.to-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Hover-Effekt */
.to-top:hover{
  box-shadow:
    0 16px 40px rgba(0,0,0,.55),
    0 0 0 6px rgba(155,210,255,.35);
}

/* Active (Klick) */
.to-top:active{
  transform: scale(.96);
}

/* Erfolg Nachricht Design & Animation */
#formSuccess {
  display: none; /* Wird per JS auf block gesetzt */
  opacity: 0;    /* Startet unsichtbar für die Animation */
  transform: translateY(-10px); /* Startet leicht versetzt nach oben */
  transition: opacity 0.6s ease, transform 0.6s ease;
  
  background-color: #f0fdf4;
  color: #166534;
  padding: 1rem;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Diese Klasse wird per JS hinzugefügt, um die Animation zu starten */
#formSuccess.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Fehler-Box Design */
#formError {
  display: none; /* Standardmäßig aus */
  background-color: #fef2f2;
  color: #b91c1c;
  padding: 0.8rem;
  border: 1px solid #fecaca;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Grüne Erfolgs-Box mit mehr Abstand zum nächsten Feld */
#formSuccess {
  display: none;
  background-color: #f0fdf4;
  color: #166534;
  padding: 1rem;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  margin-bottom: 2rem; /* Erhöhter Abstand zum "Name"-Feld */
  font-weight: 500;
}
/* ============================================================
    SYMMETRISCHER FOOTER: FINALER FIX FÜR ABSTÄNDE
   ============================================================ */

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
  padding-top: 1.5rem;
  /* DIESER WERT SCHIEBT DIE LINIE NACH UNTEN WEG: */
  padding-bottom: 4rem; 
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0 2rem 0 0;
  border-right: 1px solid var(--line);
  align-items: center;
  text-align: center;
}

.footer__about {
  padding: 0 0 0 4rem;
  text-align: left;
}

.footer__about strong {
  display: block;
  font-size: 1.1rem;
  margin: 0 0 0.8rem 0;
  line-height: 1.2;
}

.footer__about p {
  margin: 0;
  /* Etwas mehr Zeilenabstand für bessere Lesbarkeit */
  line-height: 1.6; 
}

.footer__fine {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2rem; /* Ersetzt das Padding für Abstand nach oben */
  padding-top: 0; 
  border-top: none; /* DIES ENTFERNT DIE HORIZONTALE LINIE */
  color: var(--muted);
  font-size: 0.95rem;
}

/* ============================================================
    GLOBALER HOVER & FOKUS (Bleibt erhalten)
   ============================================================ */

.tile, .card, .steps li {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.tile:hover, .card:hover, .steps li:hover {
  transform: translateY(-8px);
  border-color: var(--accent2);
  box-shadow: 0 20px 40px rgba(15,23,42,0.12);
  z-index: 10;
}

.footer__links a, .linklike {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer__links a:hover, .linklike:hover {
  color: var(--accent2);
  text-decoration: underline;
  transform: none !important;
}

/* Fokus-Zustand für Input */
#heroNameField:focus, #nameField:focus {
  background-color: #f0f9ff;
  border-color: var(--accent);
  transform: scale(1.01);
  transition: all 0.2s ease;
}

#formSuccess {
    display: none; /* Wird vom JS auf block gesetzt */
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

#formSuccess.is-visible {
    opacity: 1;
    transform: translateY(0);
}