/* ==========================================================================
   DEHNEN — Radikaler One-Pager
   Zentrierte Visitenkarte / Poster. Ausdrucksstark, selbstbewusst, leise.
   ========================================================================== */


/* eb-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/eb-garamond-v33-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/eb-garamond-v33-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/eb-garamond-v33-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/eb-garamond-v33-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/eb-garamond-v33-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/eb-garamond-v33-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}




/* cormorant-garamond-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  src: url('fonts/cormorant-garamond-v21-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  src: url('fonts/cormorant-garamond-v21-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/cormorant-garamond-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cormorant-garamond-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/cormorant-garamond-v21-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



:root,
[data-theme='navy'] {
  --paper: #15243b;
  --paper-soft: #1c2f4c;
  --ink: #ece4d2;
  --ink-muted: #adb6c4;
  --ink-faint: #828c9c;
  --line: #2b3c58;
  --accent: #d4b06a;
  --accent-soft: #e2c58a;
}

[data-theme='light'] {
  --paper: #f4f1ea;
  --paper-soft: #efeae0;
  --ink: #1c1f28;
  --ink-muted: #5b5d63;
  --ink-faint: #989588;
  --line: #ddd6c6;
  --accent: #6e2a33;
  --accent-soft: #8a3a45;
}

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

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  font-feature-settings: 'kern', 'liga', 'onum';
  font-variant-numeric: oldstyle-nums;
  display: flex;
  flex-direction: column;
}

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

::selection { background: oklch(from var(--accent) l c h / 0.22); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid oklch(from var(--accent) l c h / 0.35);
  transition: color .22s ease, border-color .22s ease;
}
a:hover { color: var(--accent-soft); border-bottom-color: var(--accent-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------------------
   Theme toggle
   -------------------------------------------------------------------------- */
.theme-toggle {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 50;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  background: oklch(from var(--paper) l c h / 0.7);
  border: 1px solid var(--line);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: color .22s ease, border-color .22s ease;
}
.theme-toggle:hover { color: var(--ink); border-color: var(--ink-faint); }
.theme-toggle .icon-moon { display: none; }
[data-theme='navy'] .theme-toggle .icon-sun { display: none; }
[data-theme='navy'] .theme-toggle .icon-moon { display: block; }

/* --------------------------------------------------------------------------
   Stage — centered poster
   -------------------------------------------------------------------------- */
.stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 5vw, 2rem) clamp(2.5rem, 6vw, 4rem);
}

.card {
  width: 100%;
  max-width: 640px;
  text-align: center;
}

/* Masthead */
.masthead { margin-bottom: clamp(2.5rem, 6vw, 3.75rem); }
.firm {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.3rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.firm-meta {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.1rem);
  color: var(--ink-muted);
}

/* Identity */
.name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 1.3rem + 4vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
}
.titles {
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem);
  color: var(--ink-muted);
  line-height: 1.55;
}

/* Hairline */
.hairline {
  width: 3.5rem;
  height: 1px;
  border: 0;
  background: var(--line);
  margin: clamp(1.75rem, 4vw, 2.5rem) auto;
}

/* Focus */
.focus { margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.focus-label {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.focus-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(1.2rem, 1.02rem + 0.8vw, 1.55rem);
  line-height: 1.65;
  color: var(--ink);
  max-width: 40ch;
  margin-inline: auto;
}

/* Portrait */
.portrait {
  margin: 0 auto clamp(2.5rem, 6vw, 3.5rem);
  width: clamp(220px, 42vw, 340px);
}
.portrait img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 12px 40px -12px oklch(0.2 0.01 80 / 0.18);
  filter: saturate(0.92);
}
[data-theme='navy'] .portrait img { box-shadow: 0 12px 44px -8px oklch(0 0 0 / 0.55); }

/* Creed — the punchline */
.creed {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.2rem, 1.2rem + 3.2vw, 3.6rem);
  line-height: 1.15;
  color: var(--accent);
  margin-bottom: clamp(3rem, 7vw, 4.5rem);
  letter-spacing: -0.01em;
}

/* Contact */
.contact-lede {
  font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.12rem);
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.contact-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.contact-email,
.contact-phone {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  color: var(--ink);
  border: none;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid var(--line);
  transition: color .22s ease, border-color .22s ease;
}
.contact-email:hover,
.contact-phone:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 5vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-nav { display: flex; gap: 1.25rem; }
.footer-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--ink-muted);
  border: none;
  border-bottom: 1px solid transparent;
}
.footer-nav a:hover { color: var(--ink); border-bottom-color: var(--line); }
.footer-copy {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-faint);
}

@media (max-width: 560px) {
  .site-footer { flex-direction: column; text-align: center; }
  .firm { letter-spacing: 0.24em; }
}


.privacy {text-align:left;}
.privacy p {margin: 0 0 20px 0;}
.privacy h2 {font-size: 28px; margin: 50px 0 20px 0;}
.privacy h4 {font-size: 22px; margin: 40px 0 20px 0;}
.privacy h5 {font-size: 19px; margin: 20px 0 0 0;}