/* ==========================================================================
   FRANKE TEN PLUS – Design System
   Basis: WEMALO-Palette, neu gewichtet für eine persönliche Beratermarke
   ========================================================================== */

:root {
  /* Farben */
  --ftp-white:     #FFFFFF;
  --ftp-dark:      #202020;   /* Fließtext, Headlines auf hell */
  --ftp-darker:    #161B22;   /* dunkle Sektionen: Hero, Footer, Beweis-Block */
  --ftp-darker-2:  #0D1117;   /* dekorative Tiefe auf Dunkel */
  --ftp-orange:    #ED8516;   /* Akzent, CTAs, "Plus" */
  --ftp-blue:      #C8D5DC;   /* Touch Hellblau: Linien, Rahmen, Sekundär-Akzent */
  --ftp-hell:      #F3F5F8;   /* alternierende Sektionsflächen */

  /* Typografie */
  --font-display: 'Fjalla One', 'Arial Narrow', Arimo, Arial, sans-serif;
  --font-body: Arimo, Helvetica, Arial, sans-serif;

  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ftp-dark);
  background: var(--ftp-white);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em 0;
  color: var(--ftp-darker);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em 0; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

img { max-width: 100%; display: block; }

/* ---------- Signatur-Motiv: 10+ ---------- */
.ten-plus {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.ten-plus .ten { color: inherit; }
.ten-plus .plus { color: var(--ftp-orange); margin-left: 0.05em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ftp-orange);
  margin-bottom: 0.9rem;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ftp-blue);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.brand-claim {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ftp-dark);
  opacity: 0.7;
  white-space: nowrap;
}
.logo-img-footer {
  height: 26px;
  margin-bottom: 0.2rem;
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
.nav-list a {
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  border-bottom-color: var(--ftp-orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ftp-dark);
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
  font-family: var(--font-body);
  cursor: pointer;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  border: 2px solid var(--ftp-orange);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-primary {
  background: var(--ftp-orange);
  color: var(--ftp-white);
}
.btn-primary:hover { background: #d4740d; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ftp-white);
  border-color: var(--ftp-white);
}
.btn-ghost:hover { background: var(--ftp-white); color: var(--ftp-darker); }
.btn-outline-dark {
  background: transparent;
  color: var(--ftp-darker);
  border-color: var(--ftp-darker);
}
.btn-outline-dark:hover { background: var(--ftp-darker); color: var(--ftp-white); }

/* ---------- Hero ---------- */
.hero {
  background: var(--ftp-darker);
  color: var(--ftp-white);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--ftp-darker-2);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  left: 6%;
  bottom: -30px;
  width: 3px;
  height: 90px;
  background: var(--ftp-orange);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 2rem;
}
.hero-portrait { display: flex; justify-content: center; }
.hero-portrait img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 50%;
  border: 4px solid var(--ftp-orange);
  box-shadow: 0 18px 30px rgba(0,0,0,0.35);
}
.hero h1 { color: var(--ftp-white); max-width: 16ch; }
.hero .lede {
  color: var(--ftp-blue);
  font-size: 1.15rem;
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-sub {
  background: var(--ftp-darker);
  color: var(--ftp-white);
  padding: 4.5rem 0 4.5rem;
}
.hero-sub h1 { color: var(--ftp-white); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-hell { background: var(--ftp-hell); }
.section-dark {
  background: var(--ftp-darker);
  color: var(--ftp-white);
}
.section-dark h2, .section-dark h3 { color: var(--ftp-white); }
.section-dark .divider { background: var(--ftp-orange); }

.section-head { max-width: 62ch; margin-bottom: 2.6rem; }
.section-head p { color: var(--ftp-dark); font-size: 1.05rem; }
.section-dark .section-head p { color: var(--ftp-blue); }

.divider {
  width: 70px;
  height: 3px;
  background: var(--ftp-orange);
  border: 0;
  margin: 0 0 1.4rem 0;
}

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 1.6rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--ftp-white);
  border: 1px solid var(--ftp-blue);
  border-radius: 8px;
  padding: 1.8rem;
}
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ftp-orange);
  color: var(--ftp-white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ftp-dark); font-size: 0.95rem; margin-bottom: 0; }

.card-dark {
  background: var(--ftp-darker-2);
  border: 1px solid #26313d;
  color: var(--ftp-white);
}
.card-dark h3 { color: var(--ftp-orange); }
.card-dark p { color: var(--ftp-blue); }

/* ---------- Zahlen / Beweis-Block ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat {
  text-align: left;
  border-left: 3px solid var(--ftp-orange);
  padding-left: 1.1rem;
}
.stat .value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: var(--ftp-white);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat .label {
  color: var(--ftp-blue);
  font-size: 0.9rem;
}

/* ---------- Quote / Zitat ---------- */
.quote {
  border-left: 3px solid var(--ftp-orange);
  padding-left: 1.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ftp-darker);
  max-width: 46ch;
}
.section-dark .quote { color: var(--ftp-white); }
.quote cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ftp-orange);
  margin-top: 0.9rem;
}

/* ---------- Timeline (Geschichte) ---------- */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 2.4rem 2.2rem;
  border-left: 1px solid var(--ftp-blue);
}
.timeline li:last-child { border-color: transparent; padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ftp-orange);
}
.timeline .year {
  font-family: var(--font-display);
  color: var(--ftp-orange);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.3rem;
}

/* ---------- CTA-Block ---------- */
.cta-block {
  background: var(--ftp-orange);
  color: var(--ftp-white);
  border-radius: 10px;
  padding: 3rem;
  text-align: center;
}
.cta-block h2 { color: var(--ftp-white); }
.cta-block .btn-primary {
  background: var(--ftp-white);
  color: var(--ftp-orange);
  border-color: var(--ftp-white);
}
.cta-block .btn-primary:hover { background: var(--ftp-darker); color: var(--ftp-white); border-color: var(--ftp-darker); }

/* ---------- Formular (Kontakt) ---------- */
.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--ftp-blue);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--ftp-white);
  color: var(--ftp-dark);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--ftp-orange);
  outline-offset: 1px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ftp-darker);
  color: var(--ftp-blue);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.4rem;
}
.footer-grid h4 {
  color: var(--ftp-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a:hover { color: var(--ftp-white); }
.footer-bottom {
  border-top: 1px solid #2a333d;
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #7f8a95;
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-orange { color: var(--ftp-orange); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ftp-orange);
  color: var(--ftp-white);
  padding: 0.7rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; }
  .hero-portrait img { max-width: 220px; }
}

@media (max-width: 680px) {
  .nav-list { display: none; }
  .nav-toggle { display: inline-block; }
  .site-header.open .nav-list {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--ftp-white);
    flex-direction: column;
    padding: 1.2rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--ftp-blue);
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 2rem 1.4rem; }
  .hero { padding: 4rem 0 3.5rem; }
}
