/*
 Theme Name:   Verborgene Horizonte Child
 Theme URI:    https://example.com
 Description:  Divi 5 Child Theme – farbenfroh, kunstmagazin-orientiert
 Author:       Verborgene Horizonte
 Author URI:   https://example.com
 Template:     Divi
 Version:      1.0.1
*/

/* ==============================
   Farb- & Typo-Variablen
   ============================== */
:root{
  /* Grundfarben */
  --vh-black:   #161515;
  --vh-ink:     #1e1d1d;
  --vh-cream:   #f6f2ec;
  --vh-muted:   #8b8b8b;

  /* Akzente */
  --vh-accent1: #e4572e;  /* warmes Orange */
  --vh-accent2: #1f6f8b;  /* tiefes Teal */
  --vh-accent3: #e9c46a;  /* Sand/Gold */
  --vh-accent4: #8d56fc;  /* Violett */

  /* Überschriftenfarben (einfach anpassbar) */
  --vh-h1-color: var(--vh-accent1);
  --vh-h2-color: #4b2e2e;       /* sattes Dunkelbraun */
  --vh-h3-color: var(--vh-accent2);
  --vh-h4-color: var(--vh-ink);
  --vh-h5-color: var(--vh-ink);
  --vh-h6-color: var(--vh-muted);

  /* Schriften */
  --vh-font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --vh-font-sans:  "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --vh-maxw: 1200px;
}

/* ==============================
   Basis
   ============================== */
html { scroll-behavior: smooth; }
body {
  background: var(--vh-cream);
  color: var(--vh-ink);
  font-family: var(--vh-font-sans);
  line-height: 1.65;
}
.et_pb_row { max-width: var(--vh-maxw); margin-left: auto; margin-right: auto; }

/* ==============================
   Typografie
   ============================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vh-font-serif);
  letter-spacing: .3px;
  margin: 0 0 .6em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--vh-h1-color);
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--vh-h2-color); /* globales Dunkelbraun */
}
h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--vh-h3-color);
}
h4 { color: var(--vh-h4-color); }
h5 { color: var(--vh-h5-color); }
h6 { color: var(--vh-h6-color); }

p { margin: 0 0 1.1em; }
a { color: var(--vh-accent2); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ==============================
   Buttons
   ============================== */
.et_pb_button,
.et_pb_promo_button,
.et_pb_contact_submit {
  background: var(--vh-accent1);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.et_pb_button:hover,
.et_pb_promo_button:hover,
.et_pb_contact_submit:hover {
  background: var(--vh-accent4);
  transform: translateY(-1px);
}

/* ==============================
   Hero-Sektion (optional)
   - In Divi der Section/Row die Klasse "custom-hero" zuweisen
   ============================== */
.custom-hero {
  background: url('screenshot.png') center/cover no-repeat;
  padding: clamp(80px, 12vw, 140px) 24px;
  color: #fff;
  text-align: center;
  position: relative;
}
.custom-hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45));
}
.custom-hero > * { position: relative; z-index: 1; }
.custom-hero h1 { color:#fff; text-shadow: 0 6px 30px rgba(0,0,0,.35); }
.custom-hero p  { max-width: 800px; margin: 8px auto 0; color: #f7f7f7; }

/* ==============================
   Content-Karten (für Newcomer/Region/Events)
   ============================== */
.vh-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(22,21,21,.08);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.vh-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(22,21,21,.12);
}
.vh-card .vh-card-body { padding: 18px 20px; }
.vh-card h3 { margin: 0 0 4px; }
.vh-tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--vh-accent3);
  color: #232323;
  font-weight: 700;
  font-size: .8rem;
}

/* ==============================
   Newsletter/CTA Sektion
   ============================== */
.vh-cta {
  background: linear-gradient(135deg, var(--vh-accent2), var(--vh-accent4));
  color: #fff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}
.vh-cta h2 { color: #fff; }
.vh-cta .et_pb_button { background: #fff; color: #101010 !important; }
.vh-cta .et_pb_button:hover { background: var(--vh-accent3); }

/* ==============================
   Footer minimal
   ============================== */
.vh-footer { color: #464646; font-size: .95rem; }
.vh-footer a { color: inherit; opacity: .9; }
.vh-footer a:hover { opacity: 1; text-decoration: underline; }

