/* =========================================
   AlltagsPROFI Innenausbau - One Pager
   Palette aus dem Logo:
   Orange:     #F05726
   Dunkelgrau: #3D3B3A
   ========================================= */

:root{
  --bg: #ffffff;

  /* NEU: dunkles Grau statt Hellgrau (Alt-Sektionen) */
  --bg-alt: #2F2E2D;

  /* Light-Surface für kleine Flächen (Buttons/Hover/Badges) */
  --surface: #ECEAE9;

  --text: #3D3B3A;
  --muted: #6B6664;
  --border: #D9D4D2;

  --accent: #F05726;
  --accent-dark: #D84D22;
  --accent-soft: rgba(240, 87, 38, .10);
  --focus: rgba(240, 87, 38, .28);

  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.08);

  --radius: 14px;
  --max: 1120px;
--headline-main: clamp(1.2rem, 2vw, 1.8rem);

}

/* Base */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

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

/* Accessibility */
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--accent);
  color: #fff;
  padding: .6rem .9rem;
  border-radius: 10px;
}
.skip-link:focus{ left: 10px; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}
.brand{ display: inline-flex; align-items: center; }
.brand:hover{ text-decoration: none; }

/* Logo */
.logo{
  max-width: 500px;
  height: auto;
  display: block;
}

.nav-list{
  list-style: none;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 0;
  margin: 0;
}
.nav a{
  padding: .55rem .65rem;
  border-radius: 10px;
}
.nav a:hover{
  background: var(--surface);
  text-decoration: none;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.05rem;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  border: 1px solid transparent;
  box-shadow: 0 10px 18px rgba(240, 87, 38, .22);
}
.btn:hover{ background: var(--accent-dark); text-decoration: none; }
.btn--ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}
.btn--ghost:hover{ background: var(--surface); }
.btn--small{ padding: .6rem .85rem; border-radius: 10px; }
.btn--full{ width: 100%; }

/* Sections */
.section{ padding: 4.2rem 0; }
.section--alt{ background: var(--bg-alt); }
.section--cta{ background: linear-gradient(180deg, var(--surface), #ffffff); }

/* Dark alt section contrast */
.section--alt{
  color: #ffffff;
}
.section--alt .section-head p,
.section--alt p,
.section--alt li,
.section--alt .micro{
  color: rgba(255,255,255,.78);
}

.brand-name{ font-weight: 900; letter-spacing: .01em; white-space: nowrap; }
.brand-accent{ color: var(--accent); }

.section-head{
  max-width: 68ch;
  margin-bottom: 2rem;
}
.section-head h2{
  font-size: var(--headline-main);
line-height: 1.15;
}
.section-head h2,
.hero h2 {
  letter-spacing: -0.01em;
}
.section-head p{ margin: 0; color: var(--muted); }

/* Headings: ensure consistent H1 sizing (matches hero title) */
h1{
  font-size: var(--headline-main);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .6rem;
}
.hero h1{
  font-size: var(--headline-main);
  line-height: 1.15;
  letter-spacing: -0.01em;
}


/* Hero */
.hero{
  padding: 4.6rem 0 3.2rem;
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(240,87,38,.14), transparent 60%),
    radial-gradient(700px 260px at 80% 10%, rgba(61,59,58,.10), transparent 60%),
    var(--bg);
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: stretch;
}
.kicker{
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: .35rem .6rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  margin: 0 0 .9rem 0;
}
.hero h2{
  font-size: var(--headline-main);
line-height: 1.5;
}
.lead{
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
}
.hero-bullets{ margin: 0 0 1.4rem; padding-left: 1.15rem; }
.hero-actions{ display: flex; gap: .8rem; flex-wrap: wrap; }
.trust{
  margin: 1.2rem 0 0;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.trust-badge{
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--text);
  color: #fff;
  font-weight: 900;
}

/* Hero card */
.hero-card{
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero-card::before{
  content: "";
  position: absolute;
  inset: -40px -40px auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 30% 30%, rgba(240,87,38,.40), transparent 65%);
  transform: rotate(15deg);
}
.hero-card__inner{ padding: 1.6rem; position: relative; }
.hero-card__title{ margin: 0; font-weight: 900; }

/* Leistungsbereiche Panel */
.lb-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
  margin-top: .9rem;
}
.lb-item{
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: .75rem;
  align-items: center;
  padding: .75rem .85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent-soft), #ffffff);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lb-item:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  border-color: rgba(240,87,38,.45);
}
.lb-icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(61,59,58,.10);
}
.lb-icon-svg{ width: 22px; height: 22px; display: block; }
.lb-icon-svg .i-stroke{
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-icon-svg .i-accent{
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-head{ margin: 0; font-size: 1rem; line-height: 1.2; }
.lb-sub{ margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }

.lb-cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem .95rem;
  border-radius: 14px;
  border: 1px solid rgba(240,87,38,.45);
  background: rgba(240,87,38,.12);
  font-weight: 900;
  text-decoration: none;
}
.lb-cta:hover{ background: rgba(240,87,38,.16); text-decoration: none; }
.lb-cta__label{ color: var(--text); }
.lb-cta__arrow{ color: var(--accent-dark); font-size: 1.1rem; }

/* Cards */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.card h3{ margin: 0 0 .5rem; line-height: 1.2; }
.card p{ margin: 0; color: var(--muted); }
.card--accent{
  border-color: rgba(240,87,38,.45);
  background: linear-gradient(180deg, rgba(240,87,38,.10), #fff);
}

/* Features */
.features{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
color: var(--text);
}
.feature h3{ margin: 0 0 .5rem; }
.feature p{ margin: 0; color: var(--muted); }

/* Steps */
.steps{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  position: relative;
}
.step h3{ margin: 0 0 .5rem; }
.step p{ margin: 0; color: var(--muted); }
.step::after{
  content: "";
  position: absolute;
  inset: auto 1.1rem 1.1rem auto;
  width: 14px;
  height: 14px;
  border-radius: 6px;
  background: var(--accent);
}

/* Local SEO Section */
.local-grid{
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 1.6rem;
  align-items: start;
}
.local-text p{ margin: 0 0 .9rem 0; }
.local-points{
  list-style: none;
  margin: 0;
  padding: 1.1rem 1.2rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.local-points li{
  padding: .4rem 0;
  font-weight: 700;
  color: var(--text);
}

/* FAQ */
.faq details{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  margin-bottom: .8rem;
}
.faq summary{ cursor: pointer; font-weight: 800; }
.faq p{ margin: .6rem 0 0; color: var(--muted); }

/* Contact */
.cta-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}
.cta-lead{ color: var(--muted); margin-top: .5rem; }

.contact-list{ list-style: none; padding: 0; margin: 1.2rem 0 0; }
.contact-list li{ padding: .35rem 0; }
.contact-list a:hover{ color: var(--accent-dark); text-decoration: none; }

.form{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.form-row{ display: grid; gap: .35rem; margin-bottom: .85rem; }
label{ font-weight: 700; }

input, textarea{
  width: 100%;
  padding: .75rem .85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fff;
}
input:focus, textarea:focus{
  outline: 3px solid var(--focus);
  border-color: rgba(240,87,38,.55);
}
.form-row--check{ display: grid; grid-template-columns: 20px 1fr; align-items: start; gap: .6rem; }
.form-row--check input{ margin-top: .2rem; }
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status{ margin: .8rem 0 0; color: var(--muted); }

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 2rem 0;
}
.footer-inner{
  display: grid;
  gap: .9rem;
  align-items: center;
}
.footer-brand{
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin: 0;
}
.footer-logo{ width: 180px; height: auto; display: block; }

.footer-nav{ display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-nav a{ color: var(--muted); }
.footer-nav a:hover{ color: var(--text); text-decoration: underline; }

.micro{ color: var(--muted); font-size: .92rem; margin: 0; }

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .features{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .cta-grid{ grid-template-columns: 1fr; }
  .local-grid{ grid-template-columns: 1fr; }
  .nav-list{
    gap: .3rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}
@media (max-width: 560px){
  .cards{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .logo{ max-width: 190px; }
  .footer-logo{ width: 160px; }
}

/* Region Section – final */
.region-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:1.2rem;
}
.region-card{
  border-radius:14px;
  padding:1.4rem;
}
.region-card--dark{
  background:#2F2E2D;
  color:#fff;
}
.region-card--light{
  background:#fff;
}
.region-badge{
  width:42px;height:42px;
  display:grid;place-items:center;
  background:rgba(240,87,38,.15);
  border-radius:14px;
}
.region-icon,.region-title__icon{
  width:22px;height:22px;
}
.region-icon__stroke{
  fill:none;
  stroke:#F05726;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
/* Checkbox label */
.check-label{ cursor: pointer; line-height: 1.4; font-weight: 400; }
/* Region section: reset colors inside light card even in dark (section--alt) contexts */
.section--alt .region-card--light{
  color: var(--text);
}
.section--alt .region-card--light h3,
.section--alt .region-card--light p,
.section--alt .region-card--light li,
.section--alt .region-card--light .micro{
  color: var(--text);
}
.section--alt .region-card--light .region-area{
  color: var(--muted);
}



/* Legal pages */
.legal-page{ padding: 5rem 0 4rem; }
.legal-page .container{ width: min(900px, calc(100% - 2rem)); }
.legal-page h1{ margin-top: 0; }
.legal-page h2{ margin-top: 1.8rem; }

/* FIX: Lesbarkeit der Boxen in "Typische Einsätze" (section--alt + steps) */
.section--alt .step {
  color: var(--text);
}

.section--alt .step h3 {
  color: var(--text);
}

.section--alt .step p {
  color: var(--muted);
}

/* Entfernt die orangenen Punkte in den Step-Boxen */
.step::after{
  display: none;
}

/* Leistungen: breite Fokus-Kachel */
.cards .card--wide {
  grid-column: 1 / -1;
  text-align: center;
}

.cards .card--wide p {
  max-width: 60ch;
  margin: 0 auto;
}

/* Airless Landingpage Links – gezielt hervorheben */
.link-airless {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.link-airless:hover,
.link-airless:focus {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* Screen-reader only */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Mobile navigation (hamburger) */
.nav-toggle{
  display:none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .55rem .65rem;
}
.nav-toggle:focus{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.nav-toggle__bar{
  display:block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 999px;
}

@media (max-width: 760px){
  .nav-toggle{ display:inline-flex; flex-direction:column; justify-content:center; }
  .nav{
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-header.nav-open .nav{ display:block; }
  .nav-list{
    flex-direction: column;
    align-items: stretch;
    padding: .6rem 1rem 1rem;
    gap: .35rem;
  }
  .nav a{ padding: .75rem .85rem; }
  .nav a.btn{ width: 100%; justify-content: center; }
}

/* Region section: stack columns on mobile */
@media (max-width: 980px){
  .region-grid{ grid-template-columns: 1fr; }
}
