/* Zawada – Stylesheet
   Farben und Schriften kannst du hier oben zentral ändern. */
:root {
  --bg: #0c0e13;
  --bg-soft: #141821;
  --card: #181d27;
  --text: #f2f3f5;
  --muted: #9aa1ad;
  --line: rgba(255, 255, 255, 0.08);
  --amber: #f6b25e;   /* Sonnenuntergang */
  --red: #e8473c;     /* Feuerwehr-Rot */
  --gradient: linear-gradient(100deg, var(--amber) 0%, #f07a45 45%, var(--red) 100%);
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 20px;
  --max: 1120px;
}

@font-face {
  font-family: "EB Garamond";
  src: url("fonts/eb-garamond-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--amber); text-underline-offset: 3px; }

/* Leuchtender Hintergrund-Schimmer */
.glow {
  position: fixed;
  inset: -20vmax -20vmax auto auto;
  width: 60vmax;
  height: 60vmax;
  background: radial-gradient(circle, rgba(246, 178, 94, 0.18), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.glow.two {
  inset: auto auto -25vmax -25vmax;
  background: radial-gradient(circle, rgba(232, 71, 60, 0.14), transparent 60%);
}

/* Kopfzeile */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 14, 19, 0.7);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.03em;
}
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 7px 14px;
  border-radius: 999px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.1); }

/* Startseite: Hero */
main { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 70px);
  min-height: calc(100svh - 70px);
  padding: 64px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gradient);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(4rem, 13vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
}
.photo img { width: 100%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.photo:hover img { transform: scale(1.03); }

.hero .photo { transform: rotate(2deg); }
.hero .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Zweites Bild */
.feature { padding: 24px 0 96px; }
.feature .photo { max-width: 980px; margin: 0 auto; }

/* Einblend-Animation */
.reveal { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.reveal.d1 { animation-delay: .12s; }
.reveal.d2 { animation-delay: .24s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; }
}
.hero .photo.reveal { animation-name: rise-tilt; }
@keyframes rise-tilt {
  from { opacity: 0; transform: translateY(24px) rotate(2deg); }
  to { opacity: 1; transform: rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  .photo img { transition: none; }
}

/* Textseiten (Impressum) */
.text-page { max-width: 760px; padding: 64px 16px 96px; }
.text-page h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 8vw, 4rem);
  line-height: 1.05;
  margin: 0 0 32px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}
.card h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 12px;
}
.card h3 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 24px 0 6px;
}
.card h2 + h3 { margin-top: 8px; }
.card p { margin: 0 0 12px; color: #c9ced6; }
.card p:last-child { margin-bottom: 0; }
.contact { font-size: 1.1rem; }
.contact p { color: var(--text); }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Tablet & Handy */
@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: auto;
    padding: 48px 0 32px;
    text-align: center;
  }
  .eyebrow { justify-content: center; }
  .hero .photo { max-width: 460px; margin: 0 auto; }
  .feature { padding-bottom: 64px; }
}
@media (max-width: 420px) {
  .brand { font-size: 1.3rem; }
  .site-nav a { padding: 6px 10px; font-size: 0.85rem; }
  .card { padding: 22px; }
}
