/* ==========================================================================
   Julia Schnetzer – Website
   Grundfarben und Variablen ganz oben anpassen, der Rest folgt automatisch.
   ========================================================================== */

:root {
  --color-ocean-deep: #0b3550;
  --color-ocean: #114b6e;
  --color-teal: #0f8b8d;
  --color-sand: #e3e9ec;
  --color-sand-dark: #c9d5da;
  --color-ink: #16232c;
  --color-white: #ffffff;

  /* Bewusst Systemschriften statt Google Fonts: keine externen Anfragen an
     Google-Server, damit die Seite ohne Cookie-Banner DSGVO-konform bleibt. */
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1120px;
  --radius: 14px;
  --shadow-soft: 0 12px 30px -18px rgba(11, 53, 80, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-ocean-deep);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--color-teal); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-teal);
  color: white;
  padding: 12px 18px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-sand-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-ocean-deep);
  text-decoration: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.primary-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.primary-nav a:hover { color: var(--color-teal); }

.nav-cta {
  background: var(--color-teal);
  color: white !important;
  padding: 8px 16px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--color-ocean); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-ocean-deep);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background-color: var(--color-ocean-deep);
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  color: white;
  padding: 130px 0 160px;
  overflow: hidden;
}

.hero-inner { max-width: 720px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 600;
  color: #bfe3e1;
  margin-bottom: 14px;
}

.hero h1 {
  color: white;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 5.6rem);
  letter-spacing: -0.01em;
}

.hero-lede {
  font-size: 1.15rem;
  color: #e7f2f1;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: white;
  color: var(--color-ocean-deep);
}
.btn-primary:hover { background: var(--color-sand); }

.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.wave svg { width: 100%; height: 90px; display: block; }
.wave path { fill: var(--color-white); }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-alt { background: var(--color-sand); }
.section-intro { color: #4a5a63; max-width: 620px; margin-bottom: 36px; }

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.two-col.reverse { grid-template-columns: 1.1fr 0.9fr; }
.two-col.reverse .col-text { order: 1; }
.two-col.reverse .col-media { order: 2; }

.portrait-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: block;
  background: var(--color-sand);
}
.book-cover {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--color-sand);
  padding: 28px;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
}
.facts li {
  padding-left: 26px;
  position: relative;
  font-weight: 500;
  color: var(--color-ocean-deep);
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border: 1px solid var(--color-sand-dark);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.section-alt .card { background: white; }

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 8px;
}

.card-placeholder { border-style: dashed; }

/* Projekte */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.project-card {
  display: block;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--color-sand-dark);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px -18px rgba(11, 53, 80, 0.45);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--color-sand);
}

.project-thumb { position: relative; }

.project-body { padding: 20px 22px 24px; }
.project-body h3 { margin-bottom: 8px; }
.project-body p { margin: 0; color: #4a5a63; font-size: 0.95rem; }

.project-card-static { cursor: default; }
.project-card-static:hover { transform: none; box-shadow: var(--shadow-soft); }
.tbd { color: #9aa7ad; font-style: italic; }

/* Bildnachweise: dezentes Badge unten rechts im Bild */
.photo-wrap { position: relative; }

.photo-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: 78%;
  background: rgba(6, 26, 38, 0.58);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  letter-spacing: 0.01em;
  text-align: right;
  padding: 3px 9px;
  border-radius: 6px;
  line-height: 1.4;
}
.photo-credit a { color: inherit; text-decoration: underline; }
.photo-credit a:hover { color: white; }

.book-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-ocean-deep);
  margin-bottom: 2px;
}
.book-subtitle {
  color: #4a5a63;
  font-size: 1rem;
  margin-bottom: 20px;
}

.publications-heading { margin-top: 56px; }

.publication-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-sand-dark);
}

.publication-list li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-sand-dark);
}

.pub-year {
  flex: 0 0 52px;
  font-weight: 700;
  color: var(--color-teal);
  font-variant-numeric: tabular-nums;
}

.publication-list a {
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.45;
}
.publication-list a:hover { color: var(--color-teal); text-decoration: underline; }

.pub-note { color: #6b7a82; font-weight: 400; }

@media (max-width: 560px) {
  .publication-list li { flex-direction: column; gap: 4px; }
  .pub-year { flex: none; }
}

.section-contact {
  background-color: var(--color-ocean-deep);
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  color: white;
}
.section-contact h2 { color: white; }
.section-contact .section-intro { color: #cfe4e2; }

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}

.contact-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 220px;
  text-decoration: none;
  color: white;
}
.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a9cfcd;
}
.contact-value { font-weight: 600; font-size: 1.05rem; }

.social-note { color: #a9cfcd; font-size: 0.9rem; }

.site-footer {
  padding: 28px 0;
  text-align: center;
  color: #6b7a82;
  font-size: 0.85rem;
}
.site-footer p { margin: 0 0 6px; }
.footer-legal { margin-bottom: 0 !important; }
.footer-legal a { color: #6b7a82; text-decoration: underline; }
.footer-legal a:hover { color: var(--color-teal); }

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal-page h1 { margin-bottom: 28px; }
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 44px;
  margin-bottom: 12px;
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li { color: #364650; }
.legal-page address { font-style: normal; }
.legal-page ul { padding-left: 22px; }
.legal-page a { color: var(--color-teal); }
.legal-back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: var(--color-teal);
  text-decoration: none;
}
.legal-back:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .two-col, .two-col.reverse {
    grid-template-columns: 1fr;
  }
  .two-col.reverse .col-text,
  .two-col.reverse .col-media { order: initial; }
  .col-media { max-width: 320px; margin: 0 auto; }
}

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

  .primary-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--color-sand-dark);
    display: none;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 10px 0; width: 100%; }
  .nav-cta { width: fit-content; }

  .hero { padding: 72px 0 110px; }
  .section { padding: 64px 0; }
}
