/* ============================================
   Antiquität Greifenstein — Stylesheet
   Antik-modernes Design in Burgund & Creme
   ============================================ */

:root {
  --burgundy-dark: #3d1420;
  --burgundy: #6b2737;
  --burgundy-light: #8a3b4d;
  --gold: #b08d57;
  --gold-light: #d4b98c;
  --cream: #f7f1e6;
  --cream-dark: #efe6d3;
  --ink: #241a15;
  --ink-soft: #55483d;
  --white: #fffdf9;

  --font-head: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Lora', 'Georgia', serif;

  --radius: 4px;
  --shadow-soft: 0 10px 30px rgba(61, 20, 32, 0.12);
  --shadow-strong: 0 20px 45px rgba(61, 20, 32, 0.22);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--burgundy-dark);
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
  transform-origin: left center;
  transition: transform 0.7s ease 0.15s;
}

.reveal .eyebrow::before {
  transform: scaleX(0);
}

.reveal.is-visible .eyebrow::before {
  transform: scaleX(1);
}

.section {
  padding: 110px 0;
  position: relative;
}

/* ---------- Section wave dividers ---------- */

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 70px;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.wave-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave-divider path {
  transition: d 0.4s ease;
}

.section-alt {
  background: var(--white);
}

.section-header {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  margin-bottom: 18px;
}

.section-lede {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

.btn-outline {
  border-color: rgba(107, 39, 55, 0.35);
  color: var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--cream);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */

.topbar {
  background: var(--burgundy-dark);
  color: var(--gold-light);
  font-size: 0.82rem;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar a {
  color: var(--gold-light);
  font-weight: 600;
  transition: color var(--transition);
}

.topbar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 230, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(107, 39, 55, 0.12);
  transition: box-shadow var(--transition), padding var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy-dark);
}

.logo .mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--burgundy);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--burgundy-dark);
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 100px 0 120px;
  background:
    radial-gradient(ellipse at top right, rgba(176, 141, 87, 0.16), transparent 55%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(107,39,55,0.02) 0, rgba(107,39,55,0.02) 1px, transparent 1px, transparent 14px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 22px;
}

.hero-title em {
  font-style: italic;
  color: var(--burgundy);
}

.hero-text {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-scroll {
  position: relative;
}

.hero-scroll .flourish {
  width: 50px;
  height: 32px;
  overflow: visible;
  color: var(--burgundy);
  animation: flourish-float 2.6s ease-in-out infinite;
}

.hero-scroll .flourish path {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  animation: draw-flourish 1.4s ease forwards 1s;
}

@keyframes draw-flourish {
  to { stroke-dashoffset: 0; }
}

@keyframes flourish-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art .frame {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(107, 39, 55, 0.15);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  padding: 30px;
}

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
}

.hero-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: 140px 6px 6px 6px;
  box-shadow:
    0 0 0 1px rgba(176, 141, 87, 0.35),
    var(--shadow-strong);
  -webkit-mask-image: linear-gradient(150deg, #000 62%, transparent 94%);
  mask-image: linear-gradient(150deg, #000 62%, transparent 94%);
}

.corner-mark {
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

.corner-mark.corner-tl {
  top: -14px;
  left: -14px;
}

.corner-mark.corner-br {
  bottom: -14px;
  right: -14px;
}

.hero-art svg {
  width: 100%;
  height: auto;
}

.hero-art .seal {
  position: absolute;
  bottom: -26px;
  left: -26px;
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 8px 18px rgba(61,20,32,0.3));
}

/* ---------- Promise / About ---------- */

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 20px;
}

.promise-card {
  background: var(--white);
  border: 1px solid rgba(107,39,55,0.1);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.promise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.num-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 16px;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.promise-card:hover .num-badge {
  background: var(--burgundy);
  color: var(--cream);
  transform: rotate(-8deg) scale(1.06);
}

.promise-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.promise-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.checklist {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink-soft);
}

.checklist svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--burgundy);
}

/* ---------- Features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px 26px;
  border-top: 3px solid var(--gold);
  transition: transform var(--transition), background var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .icon-badge {
  transform: rotate(-10deg) scale(1.08);
}

.feature-card .icon {
  width: 26px;
  height: 26px;
  color: var(--cream);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.photo-band {
  position: relative;
  margin-top: 56px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 220px;
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}

.photo-band:hover img {
  transform: scale(1.05);
}

.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(61,20,32,0.78) 0%, rgba(61,20,32,0.35) 55%, rgba(61,20,32,0.15) 100%);
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.photo-band-overlay p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--cream);
  max-width: 420px;
}

/* ---------- Stats ---------- */

.stats-section {
  background: var(--burgundy-dark);
  color: var(--cream);
  position: relative;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(176,141,87,0.12), transparent 45%);
  pointer-events: none;
}

.stats-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
  position: relative;
}

.stats-header .eyebrow {
  justify-content: center;
}

.stats-header h2 {
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.stat-card {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(247,241,230,0.14);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--gold-light);
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(247,241,230,0.75);
  margin-top: 8px;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--gold-light);
  position: absolute;
  top: 6px;
  left: 22px;
  line-height: 1;
}

.testimonial-quote {
  font-style: italic;
  color: var(--ink);
  margin: 26px 0 22px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}

.testimonial-author .name {
  font-weight: 600;
  font-size: 0.94rem;
}

.testimonial-author .since {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- Advantages list / split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.advantages-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.advantages-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: transform var(--transition);
}

.advantages-list li:hover {
  transform: translateX(6px);
}

.advantages-list .adv-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.advantages-list li:hover .adv-icon-badge {
  background: var(--burgundy);
  transform: rotate(-8deg);
}

.advantages-list .adv-icon {
  width: 16px;
  height: 16px;
  color: var(--burgundy);
  flex-shrink: 0;
  transition: color var(--transition);
}

.advantages-list li:hover .adv-icon {
  color: var(--cream);
}

.advantages-list span {
  font-weight: 600;
  color: var(--ink);
}

.vorteile-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 24px;
}

.vorteile-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.vorteile-image:hover img {
  transform: scale(1.04);
}

.quote-block {
  background: var(--burgundy);
  color: var(--cream);
  padding: 40px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-style: italic;
  position: relative;
}

.quote-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--gold);
  border-radius: 6px 0 0 6px;
}

/* ---------- Profile paths ---------- */

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.path-card {
  border: 1px solid rgba(107,39,55,0.14);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
}

.path-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}

.path-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.path-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- Contact / CTA band ---------- */

.cta-band {
  background:
    linear-gradient(135deg, rgba(107,39,55,0.90) 0%, rgba(61,20,32,0.92) 100%),
    url('images/web/cta-bg.jpg');
  background-size: cover;
  background-position: center 35%;
  color: var(--cream);
  border-radius: 8px;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 480px;
}

.cta-band p {
  color: rgba(247,241,230,0.8);
  margin-top: 10px;
}

.cta-band .btn-primary {
  background: var(--gold);
  color: var(--burgundy-dark);
}

.cta-band .btn-primary:hover {
  background: var(--gold-light);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--burgundy-dark);
  color: rgba(247,241,230,0.85);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(247,241,230,0.14);
}

.footer-brand .logo {
  color: var(--cream);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(247,241,230,0.65);
  max-width: 300px;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a, .footer-col span {
  font-size: 0.92rem;
  color: rgba(247,241,230,0.72);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 26px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(247,241,230,0.55);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Simple pages (Impressum/Datenschutz) ---------- */

.legal-page {
  padding: 70px 0 100px;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.legal-page h2 {
  font-size: 1.35rem;
  margin: 34px 0 12px;
}

.legal-page p, .legal-page li {
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-page a {
  color: var(--burgundy);
  text-decoration: underline;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--burgundy);
  font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .promise-grid,
  .features-grid,
  .stats-grid,
  .testimonial-grid,
  .paths-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-cta .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header.nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    box-shadow: var(--shadow-soft);
  }

  .promise-grid,
  .features-grid,
  .stats-grid,
  .testimonial-grid,
  .paths-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(247,241,230,0.14);
    padding-bottom: 24px;
  }

  .stat-card:last-child {
    border-bottom: none;
  }

  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .section {
    padding: 64px 0;
  }

  .wave-divider {
    height: 40px;
  }

  .photo-band {
    height: 160px;
    margin-top: 36px;
  }

  .photo-band-overlay {
    padding: 0 24px;
  }

  .photo-band-overlay p {
    font-size: 1.1rem;
  }

  .hero-photo img {
    height: 260px;
    border-radius: 80px 6px 6px 6px;
  }

  .corner-mark {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .topbar .container {
    justify-content: center;
  }
}
