/* ---------- Schriftart: Inter (lokal gehostet, Variable Font) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-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;
}

/* ===========================================================
   Denny Brandes – Persönliche Website
   Farbwelt: Teal (#15779b) + Violett-Akzent (#a692ed)
   =========================================================== */

:root {
  --teal: #15779b;
  --teal-dark: #11607d;
  --teal-darker: #0d4d65;
  --accent: #a692ed;
  --accent-dark: #8a72e0;
  --ink: #1b2733;
  --ink-soft: #4a5763;
  --muted: #6b7884;
  --line: #e4e9ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-tint: #eef5f8;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(13, 77, 101, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 77, 101, 0.16);
  --maxw: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal-dark); }

h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.18rem; font-weight: 700; }

p { margin: 0 0 1rem; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-accent { background: var(--accent); color: #1f1640; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color:#fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background:#fff; color: var(--teal-dark); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.brand .dot { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--accent)); display:grid; place-items:center; color:#fff; font-size:.95rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .98rem; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { padding: .55rem 1.2rem; }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

@media (min-width: 960px) {
  .nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .nav .brand { justify-self: start; }
  .nav-links { grid-column: 2; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(166,146,237,.22), transparent 60%),
    linear-gradient(160deg, var(--teal-darker), var(--teal) 65%);
  color: #fff;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow {
  display: block;
  width: fit-content;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d7eef6;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  padding: .4rem .9rem;
  border-radius: 999px;
  margin: 1.5rem 0;
}
.hero h1 { color: #fff; margin-bottom: 0; }
.hero .lead {
  font-size: 1.18rem;
  color: #e3f1f6;
  max-width: 36ch;
  margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-figure {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0;
}
.hero-figure img {
  width: 320px; height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255,255,255,.22);
  box-shadow: var(--shadow-lg);
}
.hero-figure .badge {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: .7rem 1.1rem;
  box-shadow: var(--shadow);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.hero-figure .badge b { color: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tint { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .8rem;
}
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--bg-tint); color: var(--teal);
  display: grid; place-items: center; margin-bottom: 16px;
  font-size: 1.3rem;
}
.value-card h3 { margin-bottom: .35rem; }
.value-card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Digital / Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .num { font-size: .8rem; font-weight: 700; color: var(--accent-dark); letter-spacing: .1em; }
.service h3 { margin: .4rem 0 .5rem; }
.service p { color: var(--muted); margin: 0; font-size: .98rem; }
.service ul { margin: .8rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: .94rem; }
.service ul li { margin-bottom: .25rem; }

.digital-banner {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, var(--teal-darker), var(--teal));
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 38px;
  box-shadow: var(--shadow);
}
.digital-banner h3 { color: #fff; font-size: 1.5rem; margin-bottom: .3rem; }
.digital-banner p { color: #dceef5; margin: 0; max-width: 52ch; }

/* ---------- Book ---------- */
.book {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.book-visual {
  display: grid; place-items: center;
}
.book-visual img {
  width: 100%;
  max-width: 580px;
  height: auto;
  margin: 0 auto;
  display: block;
  /* Weißer Bildhintergrund verschwindet optisch auf dem weißen Sektions-HG */
  mix-blend-mode: multiply;
}
.book blockquote {
  margin: 0 0 1.2rem; font-size: 1.25rem; font-weight: 600; color: var(--ink);
  border-left: 4px solid var(--accent); padding-left: 1rem;
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */
.legal h2 { font-size: 1.2rem; margin: 2.2rem 0 .6rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.02rem; margin: 1.4rem 0 .4rem; color: var(--ink-soft); }
.legal p { color: var(--ink-soft); }
.legal ul { margin: .4rem 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); }
.legal ul li { margin-bottom: .35rem; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--teal-dark); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.newsletter ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.newsletter ul li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; color: var(--ink-soft); }
.newsletter ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); display: block; margin-bottom: .3rem; }
.form input, .form textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: .98rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(21,119,155,.15);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .hint { font-size: .82rem; color: var(--muted); }
.form-trap { display: none !important; }
.contact-page { max-width: 720px; }
.contact-status:empty { display: none; }
.contact-status[data-state="success"] { color: var(--teal-dark); font-weight: 600; }
.contact-status[data-state="error"] { color: #9f2424; font-weight: 600; }
.form button:disabled { opacity: .65; cursor: wait; }

.privacy-dialog { width: min(800px, calc(100% - 32px)); max-height: 85vh; max-height: 85dvh; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.privacy-dialog[open] { display: flex; flex-direction: column; }
.privacy-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.privacy-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; border-bottom: 1px solid var(--line); }
.privacy-dialog-header h2 { margin: 0; font-size: clamp(1.1rem, 4vw, 1.5rem); }
.privacy-dialog-header .btn { flex-shrink: 0; }
.privacy-dialog-content { padding: 20px; overflow-y: auto; min-height: 0; }
.privacy-dialog-fallback { margin: 0; padding: 16px 20px; border-top: 1px solid var(--line); }
body.privacy-dialog-open { overflow: hidden; }

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.contact-info p { color: var(--ink-soft); }
.contact-info .item { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.1rem; }
.contact-info .item .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-tint); color: var(--teal); display: grid; place-items: center; flex: none; }
.contact-info .item b { display: block; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c7d2dc;
  padding: 56px 0 28px;
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 .8rem; font-size: 1.05rem; }
.site-footer a { color: #c7d2dc; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .88rem; color: #9aa9b5;
}
.footer-bottom a { color: #9aa9b5; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .book, .newsletter, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-figure img { width: 240px; height: 240px; }
  .newsletter { padding: 32px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 18px 24px; gap: 1rem;
    transform: translateY(-150%);
    transition: transform .3s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .section { padding: 60px 0; }
  .form .row { grid-template-columns: 1fr; }
}

/* Projekte und belegte Speaker-Erfahrung. */
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.projects-grid .service { display: flex; flex-direction: column; gap: 1rem; }
.projects-grid .service .btn { align-self: flex-start; margin-top: auto; }
.speaker-experience { margin-top: 2rem; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.speaker-experience p { color: var(--ink-soft); }
@media (max-width: 640px) { .projects-grid { grid-template-columns: 1fr; } }
