
/* trust7.com – modern, mobile-first SEO template
   EDITABLE: You can change colors, spacing, fonts.
   Avoid changing IDs and semantic tags unless necessary. */

:root{
  --bg:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --brand:#0ea5e9;
  --brand-strong:#0284c7;
  --accent:#22c55e;
  --border:#e5e7eb;
  --radius:16px;
  --shadow:0 10px 20px rgba(2,8,23,.07);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
img{max-width:100%;height:auto;display:block}

.container{max-width:1100px;margin:0 auto;padding:0 16px}
header{
  position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--border)
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.brand{display:flex;gap:10px;align-items:center}
.brand__logo{width:40px;height:40px;border-radius:8px;background:#e2e8f0;display:flex;align-items:center;justify-content:center;font-weight:700}
.brand__name{font-weight:700;letter-spacing:.2px}
.nav__links{display:flex;gap:14px;flex-wrap:wrap}
.langswitch{display:flex;gap:8px;align-items:center}
.langswitch a{padding:6px 10px;border:1px solid var(--border);border-radius:999px}
.langswitch a.active{background:var(--brand);color:#fff;border-color:var(--brand)}

.hero{
  padding:64px 0;
  background:linear-gradient(180deg,#f8fafc 0%, #ffffff 100%);
}
.hero__inner{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:center}
@media (max-width: 860px){
  .hero__inner{grid-template-columns:1fr}
}

.hero h1{font-size:clamp(28px,5vw,44px);line-height:1.15;margin:0 0 12px}
.hero p{color:var(--muted);margin:0 0 18px}
.hero .cta{display:flex;gap:10px;flex-wrap:wrap}
.btn{display:inline-block;padding:12px 16px;border-radius:12px;border:1px solid var(--border);box-shadow:var(--shadow);background:#fff}
.btn--primary{background:var(--brand);border-color:var(--brand);color:#fff}
.btn--ghost{background:transparent}

.section{padding:40px 0;border-top:1px solid var(--border)}
.section h2{font-size:clamp(22px,3.5vw,32px);margin:0 0 10px}
.grid{display:grid;gap:16px}
.grid--3{grid-template-columns:repeat(3,1fr)}
@media (max-width: 900px){.grid--3{grid-template-columns:1fr}}
.card{padding:16px;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);background:#fff}
.card h3{margin:0 0 8px}
.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#ecfeff;border:1px solid #bae6fd;font-size:12px}
.kv{display:grid;grid-template-columns:140px 1fr;gap:6px 12px}
.kv div{padding:4px 0;border-bottom:1px dashed var(--border)}

footer{padding:28px 0;background:#0b1220;color:#cbd5e1}
footer a{color:#cbd5e1}
footer .footgrid{display:grid;gap:16px;grid-template-columns:2fr 1fr 1fr}
@media (max-width: 900px){footer .footgrid{grid-template-columns:1fr}}
.small{font-size:14px;color:#64748b}
.notice{background:#f1f5f9;border-left:4px solid var(--brand);padding:10px 12px;border-radius:8px}
/* ===== trust7 – Header/Navigation (Add-on, ans ENDE der bestehenden CSS anhängen) ===== */

:root{ --nav-height:64px; }

/* Header-Zeile */
header{ position:sticky; top:0; z-index:1000; background:#fff; border-bottom:1px solid #e6eaf0; }
header .nav{ height:var(--nav-height); display:flex; align-items:center; justify-content:space-between; gap:16px; }
header .container{ width:100%; max-width:1200px; margin:0 auto; padding:0 16px; }

/* Brand (Logo + Name) */
header .brand{ display:flex; align-items:center; gap:8px; text-decoration:none; color:inherit; line-height:1; }
header .brand__logoimg{ height:28px; width:auto; display:block; vertical-align:middle; }
header .brand__name{ font-weight:700; font-size:20px; }

/* Links Desktop */
header .nav__links{ display:flex; align-items:center; gap:20px; }
header .nav__links a{ text-decoration:none; color:#2b5aa7; font-weight:500; padding:8px 6px; border-radius:8px; line-height:1; }
header .nav__links a.active{ background:#eaf3ff; }

/* Sprachumschalter */
header .langswitch{ display:flex; align-items:center; gap:8px; }
header .langswitch a{ text-decoration:none; color:#2b5aa7; font-weight:600; padding:6px 10px; border:1px solid #e6eaf0; border-radius:999px; }
header .langswitch a.active{ background:#2b5aa7; color:#fff; border-color:#2b5aa7; }

/* Hamburger (mobil) */
header .nav-toggle{ display:none; width:40px; height:40px; border:0; background:transparent; position:relative; padding:0; cursor:pointer; }
header .nav-toggle .hamburger,
header .nav-toggle .hamburger::before,
header .nav-toggle .hamburger::after{
  content:""; position:absolute; left:8px; right:8px; height:2px; background:#2b5aa7;
  transition:transform .2s ease, opacity .2s ease;
}
header .nav-toggle .hamburger{ top:19px; }
header .nav-toggle .hamburger::before{ top:-8px; }
header .nav-toggle .hamburger::after{ top:8px; }
header .nav-toggle[aria-expanded="true"] .hamburger{ transform:rotate(45deg); }
header .nav-toggle[aria-expanded="true"] .hamburger::before{ opacity:0; }
header .nav-toggle[aria-expanded="true"] .hamburger::after{ transform:rotate(-90deg); }

/* Responsiv */
@media (max-width:960px){
  header .brand__logoimg{ height:24px; }
  header .brand__name{ font-size:18px; }

  header .nav-toggle{ display:block; }

  header .nav{ position:relative; }
  header .nav__links{
    position:absolute; top:var(--nav-height); left:0; right:0;
    display:none; flex-direction:column; gap:0; background:#fff;
    border-bottom:1px solid #e6eaf0; padding:8px 0;
  }
  header .nav__links.open{ display:flex; }
  header .nav__links a{ padding:14px 16px; border-radius:0; border-top:1px solid #e6eaf0; }
  header .nav__links a:first-child{ border-top:0; }

  header .langswitch{ margin-left:auto; gap:6px; }
}

/* Kleines Feintuning */
header img{ vertical-align:middle; }
/* ─────────────────────────────────────────────
   HEADER – kompakt & sicher (nur Kopfbereich)
   Füge diesen Block ans ENDE deiner style.css
   ───────────────────────────────────────────── */

header { position: sticky; top: 0; z-index: 1000; background:#fff; }

/* Header-Zeile */
.container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

/* Marke (Logo + Name) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.brand__name { font-weight: 700; font-size: 20px; line-height: 1; color: inherit; }

/* Logo – hart auf 28px festnageln */
.brand__logoimg,
header .brand img {
  height: 28px !important;
  width: auto !important;
  display: block;
}

/* Hauptnavigation */
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__links a {
  text-decoration: none;
  font-weight: 500;
}

/* Sprachschalter */
.langswitch {
  display: flex;
  align-items: center;
  gap: 8px;
}
.langswitch a {
  border: 1px solid #e6edf3;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
}
.langswitch a.active {
  background: #0ea5e9;
  color: #fff;
  border-color: transparent;
}

/* Hamburger-Button (wird nur mobil gezeigt) */
.nav-toggle {
  display: none;            /* Desktop: aus */
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  position: relative;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: #0f172a;
  transition: 0.2s ease;
}
.hamburger { top: 50%; }
.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

/* ── Mobilverhalten ───────────────────────── */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }      /* Mobile: an */
  .nav__links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #e6edf3;
    display: none;                           /* per JS öffnen */
    flex-direction: column;
    padding: 12px 16px;
    gap: 12px;
  }
  .nav__links.is-open { display: flex; }     /* Klasse wird per JS gesetzt */
}


