/* Fairtarif24 – statische Website
   Markenfarben aus dem bisherigen Auftritt übernommen. Keine externen Ressourcen. */

@font-face { font-family: "Hind"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/hind-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hind-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hind-latin-600-normal.woff2") format("woff2"); }

:root {
  --red: #E40613;
  --red-dark: #B9050F;
  --ink: #3F3E43;
  --text: #55545A;
  --muted: #86858A;
  --line: #E4E4E6;
  --soft: #F4F4F5;
  --white: #FFFFFF;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Hind", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

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

a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-weight: 300; font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-weight: 300; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-weight: 600; font-size: 1.125rem; }

p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--white); padding: 8px 12px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo img { width: clamp(180px, 30vw, 250px); }
.nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--red); }
.nav .nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.nav .nav-phone svg { color: var(--red); }

/* Eyebrow / Akzentstrich */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--red); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--red); }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 span { color: var(--red); }
.hero .lead { font-size: 1.2rem; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; text-decoration: none; line-height: 1;
  border: 2px solid var(--red); transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--red); }
.btn-ghost:hover { background: var(--red); color: var(--white); }

/* Bildfläche: zeigt assets/img/hero.jpg, sonst eine ruhige Markenfläche */
.hero-media {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background:
    url("../img/hero.jpg") 70% 50% / cover no-repeat,
    linear-gradient(135deg, var(--soft) 0%, var(--soft) 55%, #ECECEE 55%, #ECECEE 100%);
}
.hero-media::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--red);
}
.hero-card {
  position: absolute; left: 24px; right: 24px; bottom: 30px;
  background: rgba(255,255,255,.94); padding: 20px 22px; border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(63,62,67,.12);
}
.hero-card p { margin: 0; color: var(--ink); font-size: 1.15rem; line-height: 1.4; }
.hero-card strong { color: var(--red); }

/* Abschnitte */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-soft { background: var(--soft); }

.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro h2 { margin-top: 0; }

.points { list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.points li { background: var(--white); border-top: 3px solid var(--red); padding: 24px 22px 20px; border-radius: 0 0 var(--radius) var(--radius); }
.points p { font-size: .95rem; margin: 0; }

/* Kontakt */
.contact { background: var(--ink); color: #D6D6D8; }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: #FF4B55; }
.contact .eyebrow::before { background: #FF4B55; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { color: #FF4B55; margin-top: 4px; }
.contact-list .label { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #A8A7AC; }
.contact-list a, .contact-list .value { color: var(--white); text-decoration: none; font-size: 1.1rem; }
.contact-list a:hover { color: #FF4B55; }

/* Rechtstexte */
.page-head { background: var(--soft); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); }
.page-head .wrap { max-width: 820px; }
.page-head h1 { margin: 0; }
.legal { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.5rem; font-weight: 400; margin: 2.2em 0 .6em; padding-top: 1em; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { margin: 1.6em 0 .4em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: .3em; }
.legal address { font-style: normal; margin: 0 0 1em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 1em; }
.legal dt { color: var(--ink); font-weight: 600; }
.legal dd { margin: 0; }
.legal .note { font-size: .9rem; color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--red); }

/* 404 */
.notfound { padding: clamp(64px, 12vw, 140px) 0; text-align: center; }
.notfound .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 300; color: var(--red); line-height: 1; margin-bottom: 12px; }
.notfound .actions { justify-content: center; }

/* Responsive */
@media (max-width: 960px) {
  .points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero .wrap, .intro, .contact-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; background-position: 60% 15%, center; }
  .hero-card { left: 12px; right: auto; bottom: 18px; padding: 10px 14px; }
  .hero-card p { font-size: .95rem; }
  .nav .nav-link { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .points { grid-template-columns: 1fr; }
  .nav .nav-phone span { display: none; }
  .legal dl { grid-template-columns: 1fr; gap: 0; }
  .legal dd { margin-bottom: 8px; }
  .btn { width: 100%; justify-content: center; }
}
