/* ============================================
   agentur-glang.de – Shared Stylesheet
   Allianz Hauptvertretung Thomas Glang
   ============================================ */

/* ── TOKENS ── */
:root {
  --blue:        #003781;
  --blue-dark:   #002660;
  --blue-light:  #e8eef8;
  --white:       #ffffff;
  --off-white:   #f5f6f8;
  --grey-light:  #eaecf0;
  --grey:        #8a9ab5;
  --text:        #1a2236;
  --text-soft:   #4a5568;
  --gold:        #c8a84b;
  --green-wa:    #25D366;
  --green-wa-h:  #1fba5a;

  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --radius: 3px;
  --nav-h: 68px;
  --max-w: 1180px;
  --max-w-text: 760px;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

/* ── UTILITIES ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}

.container--text {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 2rem;
}

.eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 540px;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.nav__logo {
  width: 42px;
  height: 42px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav__logo span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.nav__name-top {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1;
}

.nav__name-bottom {
  display: block;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.nav__links a:hover { color: var(--blue); }

.nav__links .nav__cta {
  background: var(--blue);
  color: var(--white);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: background 0.15s;
}

.nav__links .nav__cta:hover { background: var(--blue-dark); color: var(--white); }

.nav__back {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}

/* ── BUTTONS ── */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--green-wa);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.15s;
}

.btn-wa:hover { background: var(--green-wa-h); }

.btn-wa svg,
.btn-wa-large svg,
.btn-wa-panel svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-wa-large {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 1rem 2.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-wa-large:hover { background: var(--off-white); }

.btn-wa-panel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  transition: background 0.15s;
}

.btn-wa-panel:hover { background: var(--blue-dark); }

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.15s;
}

.btn-text-link:hover { gap: 0.6rem; }

/* ── STICKY WHATSAPP ── */
.wa-sticky {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--green-wa);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.85rem 1.4rem 0.85rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: background 0.15s;
}

.wa-sticky:hover { background: var(--green-wa-h); }

.wa-sticky svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── FOOTER ── */
.footer {
  background: var(--text);
  padding: 3rem 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
}

.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.footer__brand-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.1rem;
}

.footer__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: center;
}

.footer__links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__links a:hover { color: rgba(255,255,255,0.7); }

.footer__copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  text-align: right;
}

/* ── FOOTER (legal pages) ── */
.footer--simple {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: var(--grey);
  border-top: 1px solid var(--grey-light);
  background: var(--white);
}

.footer--simple a { color: var(--grey); text-decoration: none; }
.footer--simple a:hover { color: var(--blue); }

/* ── LEGAL PAGE LAYOUT ── */
.legal-main {
  margin-top: calc(var(--nav-h) + 4rem);
  padding-bottom: 6rem;
}

.legal-main h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.legal-main .stand {
  font-size: 0.78rem;
  color: var(--grey);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--grey-light);
}

.legal-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--grey-light);
}

.legal-block:last-child { border-bottom: none; }

.legal-block h2 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.legal-block p,
.legal-block address,
.legal-block li {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.8;
  font-style: normal;
  font-weight: 300;
}

.legal-block p + p { margin-top: 0.9rem; }

.legal-block ul {
  margin: 0.75rem 0 0.75rem 1.2rem;
}

.legal-block li { margin-bottom: 0.3rem; }

.legal-block a { color: var(--blue); text-decoration: none; }
.legal-block a:hover { text-decoration: underline; }
.legal-block strong { font-weight: 600; color: var(--text); }

/* ============================================
   INDEX PAGE
   ============================================ */

/* ── HERO ── */
.hero {
  margin-top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 55% 45%;
}

.hero__left {
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem 6rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero__left::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.hero__left::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 450px; height: 450px;
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 50%;
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.8rem;
}

.hero__eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 3.5vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 1.8rem;
}

.hero__h1 strong {
  font-weight: 700;
  display: block;
}

.hero__sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 3rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero__contact-line {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero__tel {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.hero__tel strong { color: rgba(255,255,255,0.82); }

.hero__divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.18);
}

.hero__right {
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  border-left: 1px solid var(--grey-light);
}

.hero__panel-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--grey-light);
}

/* Topic list */
.topic-list {
  list-style: none;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--grey-light);
}

.topic-item:last-child { border-bottom: none; }

.topic-num {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.08em;
  width: 24px;
  flex-shrink: 0;
}

.topic-text { flex: 1; }

.topic-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.topic-text span {
  display: block;
  font-size: 0.76rem;
  color: var(--grey);
  margin-top: 0.1rem;
}

.topic-arrow {
  font-size: 0.8rem;
  color: var(--grey-light);
}

.hero__panel-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-light);
}

.hero__panel-cta p {
  font-size: 0.78rem;
  color: var(--grey);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

/* ── THEMEN ── */
.themen {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--grey-light);
}

.themen__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: end;
}

.themen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
}

.themen__card {
  background: var(--white);
  padding: 2.5rem 2.2rem;
  transition: background 0.2s;
}

.themen__card:hover { background: var(--off-white); }

.themen__card-num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 1.2rem;
}

.themen__icon {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: block;
}

.themen__card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.themen__card p {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.65;
  font-weight: 300;
}

/* ── PROFIL ── */
.profil {
  padding: 6rem 0;
  background: var(--off-white);
  border-top: 1px solid var(--grey-light);
}

.profil__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.profil__points {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.profil__point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.2rem;
  align-items: start;
}

.profil__num {
  width: 48px;
  height: 48px;
  border: 1px solid var(--grey-light);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.profil__point-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.profil__point-text p {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.65;
  font-weight: 300;
}

.profil__card {
  background: var(--blue);
  padding: 3rem;
}

.profil__card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.profil__avatar {
  width: 52px;
  height: 52px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  flex-shrink: 0;
}

.profil__card-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.profil__card-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.2rem;
}

.profil__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.profil__stat {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.2rem;
}

.profil__stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.profil__stat-num span {
  font-size: 1rem;
  font-weight: 300;
  color: var(--gold);
}

.profil__stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.profil__address {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

.profil__address strong { color: rgba(255,255,255,0.78); }

/* ── TIER ── */
.tier {
  padding: 6rem 0;
  background: var(--white);
  border-top: 1px solid var(--grey-light);
}

.tier__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
  margin-top: 2rem;
}

.tier__left {
  background: var(--blue-dark);
  padding: 3.5rem;
}

.tier__left h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.tier__left p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  font-weight: 300;
  max-width: 360px;
}

.tier__right {
  background: var(--white);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tier__links-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.5rem;
}

.tier__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-light);
  text-decoration: none;
  color: var(--text);
  transition: color 0.15s;
}

.tier__link:last-child { border-bottom: none; }
.tier__link:hover { color: var(--blue); }

.tier__link-main {
  font-size: 0.85rem;
  font-weight: 500;
}

.tier__link-sub {
  font-size: 0.72rem;
  color: var(--grey);
  font-weight: 400;
  margin-top: 0.1rem;
}

.tier__link-icon {
  font-size: 0.8rem;
  color: var(--grey-light);
  flex-shrink: 0;
}

/* ── FAQ ── */
.faq {
  padding: 6rem 0;
  background: var(--off-white);
  border-top: 1px solid var(--grey-light);
}

.faq__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.faq__sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.faq__sidebar p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.7;
  margin-top: 1rem;
}

.faq__list {
  border: 1px solid var(--grey-light);
  background: var(--white);
}

.faq__item {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--grey-light);
}

.faq__item:last-child { border-bottom: none; }

.faq__item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.faq__item p {
  font-size: 0.82rem;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 300;
}

/* ── CTA ── */
.cta {
  background: var(--white);
  border-top: 1px solid var(--grey-light);
}

.cta__inner {
  background: var(--blue);
  padding: 6rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
}

.cta__inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
}

.cta__inner h2 strong { font-weight: 700; }

.cta__inner p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.75rem;
  font-weight: 300;
}

.cta__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
  flex-shrink: 0;
}

.cta__hint {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.32);
  text-align: right;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {

  .nav { padding: 0 1.5rem; }
  .nav__links { display: none; }

  .container { padding: 0 1.5rem; }

  /* hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__left { padding: 4rem 1.5rem; min-height: 70vh; }
  .hero__right { padding: 3rem 1.5rem; border-left: none; border-top: 1px solid var(--grey-light); }

  /* themen */
  .themen__header { grid-template-columns: 1fr; gap: 1rem; }
  .themen__grid { grid-template-columns: 1fr; }

  /* profil */
  .profil__grid { grid-template-columns: 1fr; gap: 3rem; }

  /* tier */
  .tier__inner { grid-template-columns: 1fr; }

  /* faq */
  .faq__inner { grid-template-columns: 1fr; }
  .faq__sidebar { position: static; }

  /* cta */
  .cta__inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }
  .cta__right { align-items: flex-start; }
  .cta__hint { text-align: left; }

  /* footer */
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }
  .footer__links { flex-wrap: wrap; justify-content: center; }
  .footer__copy { text-align: center; }

  /* sticky wa */
  .wa-sticky span { display: none; }
  .wa-sticky { padding: 0.9rem; border-radius: 50%; }
}

/* ── SOCIAL ── */
.footer__social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.45);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.footer__social-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
