/* ============================================================
   design·your·day – Gestalte deinen Tag. Bewusst.
   Farbpalette aus der Naturfotografie der Website abgeleitet
   ============================================================ */

/* ===== Eigene Schrift: Caveat (Google Fonts, lokal eingebunden) ===== */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/Caveat-Variable.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 {
  /* Farben */
  --sage:        #7d9471;
  --sage-dark:   #5c7a55;
  --lilac:       #8e7cc3;
  --lilac-dark:  #6b5b9e;
  --rose:        #d98ba3;
  --rose-dark:   #b96a85;
  --cream:       #faf6ef;
  --sand:        #f2ece1;
  --ink:          #33322e;
  --ink-soft:    #5c5a52;
  --white:       #ffffff;

  /* Typografie */
  --font-hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: "Helvetica Neue", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --max-width: 1100px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(51, 50, 46, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
}

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

h1, h2 {
  font-family: var(--font-hand);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

h3 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--ink);
}

h2 { font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

/* ===== Navigation ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(51, 50, 46, 0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.nav__brand {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sage-dark);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav__list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  transition: color 0.2s;
}

.nav__list a:hover { color: var(--lilac-dark); }

/* Mobile Navigation */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  width: 26px;
  height: 3px;
  background: var(--sage-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }

  .nav__list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    gap: 0.8rem;
  }

  .nav__list.open { display: flex; }
}

/* ===== Hero ===== */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(125, 148, 113, 0.55), rgba(142, 124, 195, 0.45) 55%, rgba(217, 139, 163, 0.40)),
    url("../img/DSC00185.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 4rem 1.5rem;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
  opacity: 0.95;
}

.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  color: var(--white);
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero h1 em { font-style: italic; }

.hero__claim {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-family: var(--font-hand);
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  margin: 0.3rem;
}

.btn--primary {
  background: var(--lilac-dark);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn--ghost {
  border: 2px solid var(--white);
  color: var(--white);
}

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

/* ===== Sections ===== */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

.section__intro {
  color: var(--ink-soft);
  margin-bottom: 2rem;
  max-width: 640px;
}

/* Willkommen: Bild + Text nebeneinander */
.section--welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section--welcome .section__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Über mich: Bild + Text, Bild höher */
.section--ueber {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  background: var(--sand);
  border-radius: var(--radius);
}

.section__media--tall img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.section__text p { margin-bottom: 1rem; color: var(--ink-soft); }

@media (max-width: 820px) {
  .section--welcome,
  .section--ueber {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
}

/* ===== Angebote / Karten ===== */
.section--angebote { background: var(--white); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.card:hover { transform: translateY(-4px); }

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

/* Farbvarianten – Mix der Naturfarben */
.card--lilac  { background: #ede9f7; border-top: 5px solid var(--lilac); }
.card--sage   { background: #e9efe6; border-top: 5px solid var(--sage); }
.card--rose   { background: #fbeef2; border-top: 5px solid var(--rose); }
.card--cream  { background: var(--cream); border-top: 5px solid #d9c9a8; }

.hint {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* ===== Galerie ===== */
.section--bilder { background: var(--sand); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery figure {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery img:hover { transform: scale(1.05); }

/* ===== Kontakt-Teaser ===== */
.cta {
  text-align: center;
  padding: 4.5rem 1.5rem;
  background: linear-gradient(135deg, var(--sage-dark), var(--lilac-dark));
  color: var(--white);
}

.cta h2 { color: var(--white); }
.cta p { margin-bottom: 1.5rem; opacity: 0.9; }

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2.5rem 1.5rem;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 700;
}

.footer__nav { display: flex; gap: 1.5rem; }

.footer__nav a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer__nav a:hover { border-bottom-color: var(--cream); }

.footer__copy { font-size: 0.85rem; opacity: 0.7; }

/* ===== Unterseiten (Impressum, Kontakt, Datenschutz) ===== */
.page-header {
  background: linear-gradient(135deg, var(--sage), var(--lilac));
  color: var(--white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.page-header h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }

.page-header .back {
  display: inline-block;
  margin-top: 1rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
}

.page-header .back:hover { opacity: 1; text-decoration: underline; }

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content h2 { font-size: 1.4rem; margin: 2rem 0 0.8rem; }

.content p, .content li { color: var(--ink-soft); }

.content ul { padding-left: 1.4rem; margin-bottom: 1rem; }

/* Kontaktformular */
.contact-form {
  display: grid;
  /* minmax(0, 1fr): Felder dürfen schmaler als ihr Inhalt werden
     (z. B. <select> mit langen Optionen) – verhindert Overflow auf Phones */
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label { font-weight: 600; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  /* Explizite 100%-Breite: Safari/iOS dehnt Form-Elemente in Grid-Layouts
     nicht automatisch – ohne width: 100% bleiben die Felder schmal */
  width: 100%;
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid #c9c4b8;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}

.contact-form textarea { resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--lilac);
  border-color: var(--lilac);
}

.contact-form button {
  width: 100%;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 50px;
  background: var(--lilac-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s;
}

/* Auf großen Screens: Button in natürlicher Größe */
@media (min-width: 640px) {
  .contact-form button {
    width: auto;
    min-width: 220px;
  }
}

.contact-form button:hover { transform: translateY(-2px); }

/* reCAPTCHA: das Widget ist ~304px breit und läuft auf sehr schmalen
   Screens über den Rand – daher leicht verkleinern */
@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: top left;
  }
}

.contact-details {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}

/* Honeypot: für Besucher unsichtbar, für Bots sichtbar */
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* Statusmeldungen nach dem Formular-Versand */
.form-status {
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-status--success {
  background: #e6f0e4;
  color: var(--sage-dark);
  border-left: 5px solid var(--sage);
}

.form-status--error {
  background: #fbeaea;
  color: #a33a3a;
  border-left: 5px solid #c96a6a;
}

/* ===== Scroll-Animation ===== */
@media (prefers-reduced-motion: no-preference) {
  .section, .cta { animation: fadeUp 0.8s ease both; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
