/* liebhaberfahrzeug.ch – Allianz Suisse Oldtimer-Versicherung */
:root {
  --allianz-blue: #003781;
  --allianz-blue-dark: #001955;
  --allianz-blue-light: #3F72B1;
  --gold: #FAB600;
  --gold-dark: #8F6A00;
  --cream: #F0F7FC;
  --ink: #1c1c1c;
  --wine: #7a1622;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 32, 91, 0.15);
  --font-head: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--allianz-blue-dark);
  box-shadow: 0 8px 20px rgba(201, 162, 75, 0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(201, 162, 75, 0.5); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-blue {
  background: var(--allianz-blue);
  color: #fff;
}
.btn-blue:hover { background: var(--allianz-blue-dark); transform: translateY(-2px); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-dark);
}
h1, h2, h3 { font-family: var(--font-head); margin: 0 0 0.5em; color: var(--allianz-blue-dark); }
h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
p { margin: 0 0 1em; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--gold);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 42px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 700; color: var(--allianz-blue-dark); font-size: 1.15rem; line-height: 1.1; }
.brand-text span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; color: var(--gold-dark); letter-spacing: 1px; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-weight: 600; color: var(--allianz-blue-dark); font-size: 0.95rem; }
.main-nav a:hover { color: var(--gold-dark); }
.nav-cta { display: flex; align-items: center; gap: 16px; flex: none; }
.nav-cta .btn-blue { padding: 10px 20px; font-size: 0.88rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--allianz-blue-dark); cursor: pointer; flex: none; }
.nav-cta-mobile { display: none; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(0,20,60,0.82) 0%, rgba(0,20,60,0.6) 40%, rgba(0,20,60,0.25) 65%, rgba(0,20,60,0.15) 100%);
}
.hero .container {
  position: relative; z-index: 2;
  padding-top: 60px; padding-bottom: 100px;
}
.hero-content { max-width: 620px; }
.hero-content .eyebrow { color: var(--gold); text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.hero h1 { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.hero-content p.lead { font-size: 1.15rem; color: #e7edf9; max-width: 540px; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-marques {
  margin-top: 40px; display: flex; gap: 26px; flex-wrap: wrap;
  font-weight: 600; color: #cdd9f5; font-size: 1rem; letter-spacing: 1px;
}

/* Trust strip */
.trust-strip { background: var(--allianz-blue-dark); color: #fff; padding: 18px 0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; font-size: 0.92rem; }
.trust-strip strong { color: var(--gold); }

/* Sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.sub-head {
  text-align: center;
  font-size: 1.35rem;
  color: var(--allianz-blue-dark);
  margin: 0 0 26px;
}
.sub-head:not(:first-child) { margin-top: 60px; }

/* Feature / product grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,32,91,0.2); }
.card img { width: 60px; height: 60px; margin-bottom: 16px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: #4a4a4a; font-size: 0.95rem; margin-bottom: 0; }

.section-oldtimer { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.section-blue { background: var(--allianz-blue); color: #fff; }
.section-blue h2, .section-blue .section-head p { color: #fff; }
.section-blue .eyebrow { color: var(--gold); }

/* Vehicle types */
.vehicle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.vehicle-card {
  position: relative;
  background: var(--allianz-blue-dark);
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.vehicle-card .vc-image { width: 100%; height: 190px; overflow: hidden; }
.vehicle-card .vc-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vehicle-card .vc-body { position: relative; padding: 24px 24px 26px; }
.vehicle-card .vc-body::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,162,75,0.25), transparent 60%);
}
.vehicle-card h3 { color: #fff; position: relative; z-index: 1; }
.vehicle-card p { color: #cdd9f5; position: relative; z-index: 1; font-size: 0.92rem; margin-bottom: 0; }

/* Product / Leistungen list */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; margin-top: 10px; }
.benefit-item { display: flex; gap: 14px; align-items: flex-start; }
.benefit-item .dot {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--allianz-blue-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.benefit-item h4 { margin: 0 0 4px; font-size: 1rem; color: var(--allianz-blue-dark); }
.benefit-item p { margin: 0; font-size: 0.92rem; color: #4a4a4a; }

.product-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.product-visual { position: relative; }
.product-visual .frame {
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  line-height: 0;
}
.product-visual .frame img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* Advisor / contact */
.advisor-section { background: var(--allianz-blue-dark); color: #fff; }
.advisor-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
.advisor-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--gold);
}
.advisor-card .avatar {
  position: relative;
  width: 92px; height: 92px; min-width: 92px; min-height: 92px; border-radius: 50%;
  background: linear-gradient(135deg, var(--allianz-blue), var(--allianz-blue-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700;
  margin-bottom: 18px;
  overflow: hidden;
}
.advisor-card .avatar img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  border-radius: 50%;
}
.advisor-card h3 { margin-bottom: 2px; }
.advisor-card .role { color: var(--gold-dark); font-weight: 600; margin-bottom: 18px; }
.advisor-meta { list-style: none; padding: 0; margin: 0; }
.advisor-meta li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid #eee; font-size: 0.95rem; }
.advisor-meta li:last-child { border-bottom: none; }
.advisor-meta strong { color: var(--allianz-blue-dark); min-width: 108px; display: inline-block; }

.contact-form {
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.contact-form h3 { color: var(--allianz-blue-dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--allianz-blue-dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d7dde6; border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; background: #fafbfd;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--allianz-blue); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: #777; margin-top: 12px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.form-consent label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 0.85rem; color: var(--ink); }
.form-consent input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--allianz-blue); }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.success { color: #1a7a3d; }
.form-status.error { color: var(--wine); }

/* FAQ */
.faq-item { border-bottom: 1px solid #ddd; padding: 18px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--allianz-blue-dark); font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--gold-dark); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin-top: 12px; color: #4a4a4a; }

/* Footer */
.site-footer { background: var(--allianz-blue-dark); color: #cdd9f5; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: 14px; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text span { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 0.92rem; }
.site-footer a { text-decoration: none; color: #cdd9f5; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.82rem; color: #9db0d6; }

/* Back to top */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--allianz-blue-dark);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1.2rem; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

@media (max-width: 980px) {
  .grid-3, .grid-4, .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .advisor-wrap, .product-wrap, .footer-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 1040px) {
  .main-nav { position: fixed; inset: 70px 0 0 0; background: #fff; padding: 24px; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s ease; z-index: 99; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 18px; }
  .nav-toggle { display: block; }
  .nav-cta .btn-blue { display: none; }
  .nav-cta-mobile { display: block; margin-top: 24px; text-align: center; }
  .brand-text span { display: none; }
}
@media (max-width: 720px) {
  .grid-3, .grid-4, .vehicle-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { min-height: auto; }
  .hero .container { padding-top: 40px; padding-bottom: 60px; }
}
body.nav-open { overflow: hidden; }
