/* style.css */
/* Marketingfuchs.de — orange, hell, kantig (keine abgerundeten Ecken) */

:root{
  --bgTop: #ff7a00;
  --bgMid: #ffb055;
  --bgSoft: #ffe4c6;
  --white: #ffffff;

  --orange500:#ff7a00;

  --ink:#1b1b1b;
  --inkSoft:#333333;

  --footer:#1f1f1f;
  --footerInk:#ffffff;

  --border: rgba(0,0,0,.12);
  --shadow: 0 10px 28px rgba(0,0,0,.10);

  --max: 1140px;
  --navH: 74px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{ min-height:100%; }

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(--ink);
  background:#fff;
  overflow-x:hidden;
  position: relative;
}

a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible{
  outline:2px solid rgba(0,0,0,.6);
  outline-offset:2px;
}

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

/* Gradient-Layer: genau einmal 100vh, fixed */
#bgGradient{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events:none;
  background: linear-gradient(180deg, var(--bgTop) 0%, var(--bgMid) 18%, var(--bgSoft) 42%, var(--white) 76%);
}

/* Canvas: fixed, nur Plusse/Verbindungen */
#bgCanvas{
  position: fixed;
  inset: 0;
  width:100%;
  height:100%;
  z-index: 1;
  pointer-events:none;
}

/* Fixed Navi */
.site-header{
  position: fixed;
  top:0;
  left:0;
  right:0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(8px);
}

.navbar{
  height: var(--navH);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 200px;
}

.brand img{
  height: 59px;
  width: auto;
  display:block;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}

.nav a{
  padding: 10px 10px;
  border: 1px solid transparent;
  color: var(--inkSoft);
  letter-spacing: .2px;
  white-space: nowrap;
}

.nav a:hover{
  background: rgba(255,122,0,.10);
  border-color: rgba(255,122,0,.18);
  color: var(--ink);
}

.nav-toggle{
  display:none;
  border:1px solid var(--border);
  background: rgba(255,255,255,.9);
  padding: 10px 12px;
  cursor:pointer;
}

.nav-toggle span{
  display:block;
  width: 22px;
  height: 2px;
  background: rgba(0,0,0,.72);
  margin: 5px 0;
}

/* Layout */
main{
  position: relative;
  z-index: 10;
  padding-top: calc(var(--navH) + 24px);
  padding-bottom: 40px;
}

.hero{
  padding: 46px 0 26px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
}

.hero-card{
  background: rgba(255,255,255,.86);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero h1{
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.hero p{
  margin: 0 0 14px;
  color: var(--inkSoft);
  line-height: 1.6;
  font-size: 16px;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.btn{
  border:1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.92);
  padding: 12px 14px;
  cursor:pointer;
  text-align:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  min-height: 44px;
}

.btn.primary{
  background: rgba(255,122,0,.92);
  border-color: rgba(0,0,0,.18);
  color: #1b1b1b;
}

.btn:hover{
  filter: brightness(0.98);
}

.hero-stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat{
  background: rgba(255,255,255,.86);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 14px;
}

.stat .kpi{
  font-size: 22px;
  margin: 0 0 6px;
}

.stat .label{
  margin: 0;
  color: var(--inkSoft);
  line-height: 1.4;
}

/* Sections */
.section{
  padding: 26px 0;
}

.section h2{
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.2;
}

.section p{
  margin: 0 0 12px;
  color: var(--inkSoft);
  line-height: 1.7;
}

.callout{
  background: rgba(255,255,255,.86);
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px;
}

/* Listen: ✓ orange + fett */
.checks{
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
  color: var(--inkSoft);
  line-height: 1.7;
}

.checks li{
  position: relative;
  padding-left: 26px;
  margin: 6px 0;
}

.checks li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange500);
  font-weight: 800;
}

/* Tabelle + Abstand danach */
.table-wrap{
  overflow:auto;
  border:1px solid var(--border);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  margin: 12px 0 18px; /* fix: Luft drunter */
}

table{
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
}
th, td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  text-align:left;
  vertical-align: top;
}
th{
  background: rgba(255,122,0,.12);
  color: var(--ink);
  font-weight: 600;
}
tr:hover td{
  background: rgba(255,122,0,.06);
}

/* Dienstleistungen */
.services{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.service-card{
  border:1px solid rgba(0,0,0,.14);
  background: rgba(255,122,0,.10);
  box-shadow: var(--shadow);
  display:flex;
  flex-direction: column;
  min-height: 320px;
}

.service-media{
  border-bottom: 1px solid rgba(0,0,0,.12);
  background: rgba(255,122,0,.18);
  padding: 0;
}

.service-media img{
  width:100%;
  height: 120px;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}

/* Wunsch: Textbereich weiß, 50% transparent */
.service-body{
  padding: 14px;
  display:flex;
  flex-direction: column;
  gap: 10px;
  flex:1;
  background: rgba(255,255,255,.5);
}

.service-title{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.service-text{
  margin: 0;
  color: var(--inkSoft);
  line-height: 1.6;
  font-size: 15px;
}

.service-cta{
  margin-top: auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}

.service-cta .btn{
  width: 100%;
  background: rgba(255,255,255,.92);
}

.service-cta .btn.primary{
  background: rgba(255,122,0,.95);
}

/* FAQ + Abstand danach */
.faq{
  border:1px solid var(--border);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow);
  margin: 12px 0 18px; /* fix: Luft drunter */
}

.faq details{
  border-top: 1px solid rgba(0,0,0,.10);
  padding: 12px 14px;
}
.faq details:first-child{ border-top:none; }
.faq summary{
  cursor:pointer;
  list-style:none;
  color: var(--ink);
  font-weight: 600;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq p{
  margin: 10px 0 0;
  color: var(--inkSoft);
}

/* Footer */
.site-footer{
  position: relative;
  z-index: 10;
  background: var(--footer);
  color: var(--footerInk);
  padding: 22px 0;
  margin-top: 26px;
}

.site-footer h3{
  margin: 0 0 8px;
  font-size: 18px;
}

.site-footer p{
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  font-size: 14px;
}

/* h4 required somewhere */
h4{
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .services{ grid-template-columns: 1fr 1fr; }
  .brand{ min-width: 0; }
}

@media (max-width: 760px){
  .nav-toggle{ display:block; }
  .nav{
    position: absolute;
    top: var(--navH);
    left:0;
    right:0;
    background: rgba(255,255,255,.96);
    border-bottom:1px solid var(--border);
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 12px;
  }
  .nav a{
    padding: 12px 10px;
    border:1px solid rgba(0,0,0,.08);
    margin: 6px 0;
  }
  .nav.open{ display:flex; }
  .services{ grid-template-columns: 1fr; }
  table{ min-width: 560px; }
}
