/* Akademie Herzenswärme – Website-Stylesheet */

/* Lokal gehostete Schriften (kein Nachladen von Google-Servern -> DSGVO-konform, kein Drittanbieter-Datenabfluss) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/work-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/work-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Pinyon Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pinyon-script-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Pinyon Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pinyon-script-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg: #fdfbf7;
  --color-bg-alt: #f7ede6;
  --color-bg-alt-2: #f1ece2;
  --color-gold: #e8c876;
  --color-gold-deep: #b8912f;
  --color-gold-soft: rgba(232, 200, 118, 0.18);
  --gold-shine: linear-gradient(135deg, #fbecc0 0%, #eecd85 22%, #d9ac54 48%, #eecd85 74%, #fbecc0 100%);
  --gold-shine-hover: linear-gradient(135deg, #f6e2a8 0%, #e3bd6c 22%, #c99a3f 48%, #e3bd6c 74%, #f6e2a8 100%);
  --color-primary: var(--color-gold);
  --color-primary-dark: var(--color-gold-deep);
  --color-sage: #93a683;
  --color-text: #3c332c;
  --color-text-light: #6b6058;
  --color-white: #ffffff;
  --shadow-soft: 0 10px 30px rgba(60, 51, 44, 0.08);
  --radius: 18px;
  --blob-lg: 130px 22px 130px 22px/100px 30px 100px 30px;
  --blob-sm: 46px 14px 46px 14px/38px 12px 38px 12px;
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0 L14.2 9.8 L24 12 L14.2 14.2 L12 24 L9.8 14.2 L0 12 L9.8 9.8 Z' fill='%23c9a15a'/%3E%3C/svg%3E");
  --max-width: 1160px;
  --font-heading: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-script: "Pinyon Script", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1.1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--color-gold-deep);
  font-weight: 600;
  margin-bottom: 14px;
}

.section-head h2 {
  position: relative;
  padding-bottom: 18px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 3px;
}

.section-head.center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-shine);
  color: var(--color-text);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
  background: var(--gold-shine-hover);
  color: var(--color-text);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(60, 51, 44, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  flex-shrink: 0;
  object-fit: contain;
}

.brand-mark-header {
  width: 72px;
  height: 72px;
}

.brand-mark-footer {
  width: 84px;
  height: 84px;
}

.brand-name {
  line-height: 1.15;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.98rem;
  font-weight: 600;
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  font-weight: 500;
}

footer .brand-name {
  color: var(--color-gold);
}

.brand-name-sub {
  font-family: var(--font-script);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--color-gold-deep);
  font-weight: 400;
  line-height: 1;
}

.brand-name-sub .initial {
  font-size: 1.6em;
}

footer .brand-name-sub {
  color: var(--color-gold);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
}

nav.main-nav a:hover {
  text-decoration: none;
  color: var(--color-gold-deep);
}

nav.main-nav a.active {
  color: var(--color-gold-deep);
}

.nav-cta {
  background: var(--gold-shine);
  color: var(--color-text) !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.nav-cta:hover {
  background: var(--gold-shine-hover);
  color: var(--color-text) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  margin: 6px 0;
  transition: 0.2s;
}

/* Sections */
section {
  padding: 78px 0;
}

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

.section-head {
  max-width: 680px;
  margin: 0 0 46px;
}

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

/* Hero */
.hero {
  padding: 60px 0 90px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-image,
.split-image {
  position: relative;
  border-radius: var(--blob-lg);
  aspect-ratio: 4 / 5;
}

.hero-image img,
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  box-shadow: var(--shadow-soft);
  display: block;
}

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

.pillar {
  background: var(--color-white);
  border-radius: var(--blob-sm);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
}

.pillar h3 {
  color: var(--color-gold-deep);
}

.pillar .pillar-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--color-primary);
}

/* Cards grid (Angebote) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.card {
  background: var(--color-white);
  border-radius: var(--blob-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.card-body {
  padding: 30px;
}

.card-body a {
  color: var(--color-gold-deep);
  font-weight: 600;
}

.card .badge {
  display: inline-block;
  background: var(--color-gold-soft);
  color: var(--color-gold-deep);
  border: 1px solid var(--color-gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* About teaser / split sections */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.split.reverse .split-image {
  order: 2;
}

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

blockquote {
  margin: 0;
  padding: 34px;
  background: var(--color-white);
  border-radius: var(--blob-sm);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
  position: relative;
}

blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 6px;
}

/* Steps list */
.steps {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  margin-bottom: 20px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-white);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}

/* Offer detail block */
.offer-block {
  padding: 70px 0;
  border-bottom: 1px solid rgba(201, 161, 90, 0.35);
}

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

.offer-block .split {
  align-items: start;
}

/* CTA banner */
.cta-banner {
  background: var(--gold-shine);
  color: var(--color-text);
  border-radius: var(--blob-lg);
  padding: 60px;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-banner h2 {
  color: var(--color-text);
}

.cta-banner p {
  color: rgba(60, 51, 44, 0.8);
}

.cta-banner .btn-primary {
  background: var(--color-text);
  color: var(--color-white);
}

.cta-banner .btn-primary:hover {
  background: #241e19;
}

.cta-banner .btn-primary:hover {
  background: var(--color-bg-alt);
}

/* Forms */
form.contact-form {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.form-row {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid rgba(60, 51, 44, 0.2);
  background: var(--color-white);
  color: var(--color-text);
}

input:focus, textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* Contact info cards */
.contact-info {
  display: grid;
  gap: 22px;
}

.contact-info-item {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
}

.contact-info-item h3 {
  color: var(--color-gold-deep);
}

/* Footer */
footer.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 26px;
  margin-top: 40px;
}

footer.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

footer.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
  max-width: 380px;
}

.footer-brand .brand {
  color: var(--color-white);
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-links h4 {
  color: var(--color-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.94rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Legal pages */
.legal-content h2 {
  margin-top: 1.6em;
}

.legal-content {
  max-width: 780px;
}

.placeholder {
  background: #fff4e0;
  border: 1px dashed var(--color-gold);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .hero .container,
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-image {
    order: 0;
  }

  .pillars,
  .card-grid,
  .quotes {
    grid-template-columns: 1fr;
  }

  nav.main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 30px;
    gap: 18px;
    border-bottom: 1px solid rgba(60, 51, 44, 0.1);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  nav.main-nav.open {
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    order: 10;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .footer-top {
    flex-direction: column;
  }
}
