/* ========================================
   Sabine Reise – Thinking Design & Consulting
   Schriftart im Original-Design: "Now" (Canva)
   Hero: Poppins · sonst: Raleway
   ======================================== */

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

:root {
  --hero-beige: #e7dbbc;
  --sage: #a09c6d;
  --dark-olive: #4e542b;
  --cream: #ede7d9;
  --purple: #7b6a96;
  --teal-link: #8aa09a;
  --white: #ffffff;
  --dark: #3a3a3a;
  --hero-height: 560px;
  --content-width: 1200px;
  --content-padding-x: clamp(20px, 4vw, 48px);
  --font-hero: 'Poppins', system-ui, sans-serif;
  --font-sans: 'Raleway', 'Helvetica Neue', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ========================================
   HERO SECTION (Portrait unten rechts, bündig zur Bildleiste)
   ======================================== */

.hero {
  position: relative;
  background-color: var(--hero-beige);
  overflow: visible;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: var(--content-width);
  margin: 0 auto;
  height: var(--hero-height);
  min-height: var(--hero-height);
  padding: 0 var(--content-padding-x);
}

/* Block am linken Content-Rand; Zeilen intern zentriert untereinander */
.hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: fit-content;
  max-width: min(68%, 36rem);
  padding: 0 clamp(0.75rem, 3vw, 2rem) 0 0;
}

.hero-text h1 {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 200;
  letter-spacing: 0.02em;
  color: var(--purple);
  line-height: 1.12;
  margin-bottom: 0.08em;
}

.hero-subtitle {
  font-family: var(--font-hero);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 200;
  font-style: italic;
  color: var(--purple);
  line-height: 1.28;
}

.hero-image {
  position: absolute;
  bottom: 0;
  right: clamp(12px, 4vw, 48px);
  z-index: 1;
  width: min(44vw, 440px);
  max-width: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  line-height: 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: var(--hero-height);
  object-fit: contain;
  object-position: bottom right;
  vertical-align: bottom;
}

/* ========================================
   TEASER-BEREICH (dunkelgrün, drei Karten)
   ======================================== */

.teasers {
  background-color: var(--dark-olive);
  padding: clamp(52px, 7vw, 88px) 0;
}

.teasers-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--content-padding-x);
  gap: clamp(12px, 2vw, 24px);
}

.teaser-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

.teaser-card__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.teaser-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.teaser-card__label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  padding: clamp(16px, 2.2vw, 24px) clamp(12px, 2vw, 20px);
  box-sizing: border-box;
  background-color: var(--hero-beige);
  color: var(--dark-olive);
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.teaser-card__label p {
  margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background-color: var(--cream);
  padding: 60px 40px 50px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-title {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  text-align: center;
  color: var(--dark);
  margin-bottom: 24px;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--dark);
  margin-bottom: 30px;
}

.footer-columns {
  display: flex;
  gap: 40px;
}

.footer-col {
  flex: 1;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 12px;
  color: var(--dark);
}

.footer-col ul li {
  margin-bottom: 4px;
}

.footer-col ul li a,
.footer-col a {
  font-size: 0.85rem;
  color: var(--teal-link);
  transition: opacity 0.2s ease;
}

.footer-col ul li a:hover,
.footer-col a:hover {
  opacity: 0.7;
}

.footer-col .address {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--teal-link);
}

.footer-col .address strong {
  font-weight: 600;
}

.footer-col .footer-company-line {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 10px;
  opacity: 0.9;
}

/* Unterseiten Impressum / Datenschutz */
.subpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.subpage-header {
  background-color: var(--hero-beige);
  padding: 1.25rem var(--content-padding-x);
  max-width: var(--content-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1rem;
}

.subpage-header__brand {
  font-family: var(--font-hero);
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--purple);
  text-decoration: none;
}

.subpage-header__brand:hover {
  opacity: 0.85;
}

.subpage-header__meta {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark);
  opacity: 0.75;
}

.legal-main {
  flex: 1;
  max-width: 42rem;
  margin: 0 auto;
  width: 100%;
  padding: 2.5rem var(--content-padding-x) 3rem;
  font-family: var(--font-sans);
  color: var(--dark);
  line-height: 1.65;
}

.legal-main h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.legal-main h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.legal-main h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-main p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.legal-main a {
  color: var(--teal-link);
  text-decoration: none;
}

.legal-main a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.legal-lead {
  font-style: italic;
  opacity: 0.92;
}

.legal-nav-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(58, 58, 58, 0.15);
}

.footer--subpage {
  padding: 1.75rem var(--content-padding-x) 2rem;
}

.footer-legal-links {
  text-align: center;
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal-links a {
  color: var(--teal-link);
  text-decoration: none;
}

.footer-legal-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
  :root {
    --hero-height: min(520px, 58vh);
  }

  .hero-inner {
    height: auto;
    min-height: var(--hero-height);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: clamp(24px, 6vw, 40px) clamp(20px, 4vw, 32px) min(36vw, 200px);
  }

  .hero-text {
    max-width: 100%;
    text-align: center;
    align-items: center;
    padding-right: 0;
  }

  .hero-image {
    width: min(58vw, 300px);
    max-width: 300px;
    right: clamp(12px, 4vw, 24px);
  }

  .hero-image img {
    max-height: min(42vh, 360px);
  }

  .teasers-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .teaser-card {
    max-width: none;
    width: 100%;
    min-height: 0;
    height: auto;
  }

  .teaser-card__media {
    aspect-ratio: 4 / 5;
  }

  .teaser-card__label {
    min-height: 6.5rem;
  }

  .footer {
    padding: 40px 24px 36px;
  }

  .footer-columns {
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  :root {
    --hero-height: min(480px, 55vh);
  }

  .hero-text h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.35rem);
  }

  .hero-image {
    width: min(72vw, 280px);
    max-width: 280px;
  }
}
