/* ============================================================
   matthias-suckert.de — Kommunalwahl 2026
   Farbwelt angepasst an cdu-wangerland.de:
   Türkis #52B7C1 · Schieferblau #2D3C4B · Orange #FFA600 · Hellblau #A7D4DB
   ============================================================ */

:root {
  --navy: #2D3C4B;        /* Schieferblau: Headline-Boxen, Footer, Kontakt-Sektion */
  --navy-dark: #24313E;   /* dunklere Footer-Variante */
  --teal: #52B7C1;        /* Türkis: Header/Hero, Zierlinien */
  --teal-light: #A7D4DB;  /* Hellblau: Sekundär-Buttons */
  --blue: #2A7A83;        /* dunkles Türkis für Links/Icons (WCAG AA auf Weiß) */
  --red: #FFA600;         /* Orange: CTAs & Akzente (Text darauf: Schwarz!) */
  --red-dark: #E09200;    /* Orange Hover */
  --grey-bg: #F4F6F8;
  --text: #1D1D1B;
  --text-2: #5A6572;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(45, 60, 75, .12);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

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

a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Skip-Link (Barrierefreiheit) ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 43, 73, .12);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 24px; max-width: 1120px; margin: 0 auto;
}
.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-brand img { height: 34px; width: auto; }
.nav-brand span {
  font-weight: 700; color: var(--navy); font-size: 17px; line-height: 1.2;
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: 16px;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--red); color: var(--text) !important; padding: 10px 20px;
  border-radius: 999px; font-size: 15px !important;
}
.nav-cta:hover { background: var(--red-dark); color: var(--text) !important; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--navy);
  border-radius: 8px; padding: 6px 10px; cursor: pointer;
  color: var(--navy); font-size: 20px; line-height: 1;
}

/* ---------- Hero ---------- */
/* Türkis-Fläche wie der Header von cdu-wangerland.de;
   Headline weiß in Schieferblau-Boxen (Stil der "Neuigkeiten"-Box) */
.hero {
  background: var(--teal);
  color: var(--navy);
}
.hero-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px;
  align-items: center; padding: 72px 24px 80px;
  max-width: 1120px; margin: 0 auto;
}
.hero-kicker {
  display: inline-block; color: var(--text); background: var(--red);
  font-weight: 700; font-size: 14px; letter-spacing: .06em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 4px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 54px); line-height: 1.3;
  font-weight: 800; margin-bottom: 8px; color: #fff;
}
.hero h1 span {
  background: var(--navy); padding: 4px 14px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero-rule {
  width: 88px; height: 5px; background: var(--red);
  border: none; border-radius: 3px; margin: 18px 0 22px;
}
.hero-sub { font-size: clamp(17px, 2vw, 21px); max-width: 560px; color: var(--navy); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 15px 30px; border-radius: 999px; font-size: 17px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--text); }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: rgba(45,60,75,.12); }

.hero-photo { position: relative; justify-self: center; }
.hero-photo img {
  width: min(340px, 75vw);
  height: auto !important;          /* verhindert Verzerrung durch Höhen-Attribute */
  aspect-ratio: 4 / 5;              /* festes Porträt-Verhältnis, immer */
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  border: 5px solid rgba(255,255,255,.92);
}
.hero-photo figcaption {
  margin-top: 12px; text-align: center; font-size: 15px;
  color: var(--navy); font-weight: 600;
}

/* ---------- Sektionen ---------- */
.section { padding: 84px 0; }
.section-grey { background: var(--grey-bg); }
.section-kicker {
  color: var(--blue); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 14px; margin-bottom: 10px;
}
.section h2 {
  color: var(--navy); font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.2; margin-bottom: 18px;
}
.section-intro { max-width: 720px; color: var(--text-2); margin-bottom: 40px; }

/* ---------- Über mich ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start;
}
.about-text p { margin-bottom: 18px; }
.quote-card {
  background: var(--grey-bg); border-left: 6px solid var(--teal);
  border-radius: var(--radius); padding: 30px 30px 26px;
  box-shadow: var(--shadow);
}
.quote-card blockquote {
  font-size: 18px; font-style: italic; color: var(--navy); line-height: 1.65;
}
.quote-card cite {
  display: block; margin-top: 16px; font-style: normal;
  font-weight: 700; color: var(--blue);
}

/* ---------- Ziele ---------- */
.goals-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.goal-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px;
  border-top: 5px solid var(--red);
}
.goal-icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--navy);
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; border-bottom: 3px solid var(--red);
}
.goal-icon svg { width: 28px; height: 28px; }
.goal-card h3 { color: var(--navy); font-size: 21px; margin-bottom: 10px; }
.goal-card > p { color: var(--text-2); font-size: 16px; margin-bottom: 14px; }
.goal-card ul { list-style: none; }
.goal-card li {
  position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 16px;
}
.goal-card li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 800;
}

/* ---------- Kontakt ---------- */
.contact { background: var(--navy); color: #fff; }
.contact .section-kicker { color: var(--teal-light); }
.contact h2 { color: #fff; }
.contact .section-intro { color: rgba(255,255,255,.85); }
.contact-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start;
}
.contact-form {
  background: var(--white); color: var(--text);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 16px; }
.form-row .required { color: var(--red); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: var(--font);
  border: 2px solid #C9D3DC; border-radius: 8px; background: #fff; color: var(--text);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--blue);
}
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.form-consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.form-hint { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.contact-form .btn { border: none; cursor: pointer; width: 100%; font-family: var(--font); }
.honey { position: absolute; left: -9999px; }

.contact-aside h3 { font-size: 20px; margin-bottom: 10px; color: #fff; }
.contact-aside p { margin-bottom: 22px; color: rgba(255,255,255,.88); }
.contact-aside a { color: #fff; font-weight: 600; }
.social-links { display: flex; gap: 14px; margin-top: 8px; }
.social-links a {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,.5); border-radius: 999px;
  padding: 9px 18px; text-decoration: none; font-size: 15px;
}
.social-links a:hover { background: rgba(255,255,255,.12); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.88); font-size: 15px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 52px 0 32px;
}
.footer h3 {
  color: #fff; font-size: 16px; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 14px;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 20px 0 26px; font-size: 14px; color: rgba(255,255,255,.65);
}

/* ---------- Unterseiten (Impressum etc.) ---------- */
.legal-main { padding: 64px 0 84px; max-width: 820px; margin: 0 auto; }
.legal-main h1 { color: var(--navy); font-size: 34px; margin-bottom: 26px; }
.legal-main h2 { color: var(--navy); font-size: 23px; margin: 34px 0 12px; }
.legal-main p, .legal-main li { margin-bottom: 12px; }
.legal-main ul { padding-left: 22px; }
.back-link {
  display: inline-block; margin-bottom: 30px; font-weight: 600; text-decoration: none;
}
.notice {
  background: var(--grey-bg); border-left: 5px solid var(--blue);
  border-radius: 8px; padding: 16px 20px; margin: 18px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .hero-photo img { width: min(250px, 62vw); }
  .goals-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 18px 24px; gap: 18px; box-shadow: 0 12px 24px rgba(0,43,73,.15);
  }
  .nav-links.open { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
