/* ============================================================
   FONTS – lokal geladen
   Dateien liegen unter /fonts/
   Download: https://gwfh.mranftl.com/fonts
   → DM Serif Display (regular 400, italic 400)
   → DM Sans (light 300, regular 400, medium 500)
   ============================================================ */
@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/dm-serif-display-v17-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/dm-serif-display-v17-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-v17-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   VARIABLEN & RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0f0f0f;
  --paper: #f5f2ec;
  --accent: #2a5c45;
  --accent-light: #e8f0ec;
  --muted: #6b6b6b;
  --border: #d8d3c8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(245,242,236,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 400;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 3rem 4rem;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 2rem; height: 1px; background: var(--accent);
}
h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
h1 em { font-style: italic; color: var(--accent); }
.hero-sub {
  font-size: 1.05rem; color: var(--muted);
  max-width: 440px; margin-bottom: 2.5rem;
  font-weight: 300; line-height: 1.7;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--ink); color: var(--paper);
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem; font-weight: 500;
  text-decoration: none; letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover { background: var(--accent); transform: translateY(-1px); }
.hero-cta-arrow { font-size: 1rem; transition: transform 0.2s; }
.hero-cta:hover .hero-cta-arrow { transform: translateX(4px); }

/* ============================================================
   HERO VISUAL / PRODUCT CARDS
   ============================================================ */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.product-card {
  background: white;
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.product-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 1rem;
}
.card-tag {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-light);
  padding: 0.25rem 0.6rem;
  display: inline-block; margin-bottom: 0.75rem;
}
.card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem; line-height: 1.1; margin-bottom: 0.5rem;
}
.card-desc { font-size: 0.85rem; color: var(--muted); font-weight: 300; line-height: 1.6; }
.card-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.8rem; font-weight: 500;
  color: var(--accent); text-decoration: none; letter-spacing: 0.04em;
}
.card-link:hover { text-decoration: underline; }

/* Screen Mockup */
.screen-mockup {
  grid-column: 1 / -1;
  background: var(--ink); padding: 0.6rem;
}
.screen-bar { display: flex; gap: 0.35rem; margin-bottom: 0.5rem; padding: 0 0.2rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.screen-inner {
  background: #1a1a2e; padding: 1.25rem;
  font-size: 0.72rem; font-family: monospace;
  color: #a0a0c0; line-height: 1.8; min-height: 100px;
}
.screen-inner .s-green { color: #5eff9a; }
.screen-inner .s-blue  { color: #7eb8ff; }
.screen-inner .s-orange{ color: #ffb347; }

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  max-width: 1200px; margin: 0 auto;
  padding: 6rem 3rem;
  display: grid; grid-template-columns: 1fr 2fr; gap: 4rem;
  border-top: 1px solid var(--border);
}
.about-label {
  font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); padding-top: 0.25rem;
}
.about-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; line-height: 1.2;
  margin-bottom: 1.25rem; letter-spacing: -0.02em;
}
.about-content p {
  color: var(--muted); font-weight: 300;
  line-height: 1.8; margin-bottom: 1rem; max-width: 560px;
}
.about-stats { display: flex; gap: 3rem; margin-top: 2rem; }
.stat-num {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem; color: var(--accent); line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* ============================================================
   PRODUKTE
   ============================================================ */
.products { background: var(--ink); color: var(--paper); padding: 6rem 3rem; }
.products-inner { max-width: 1200px; margin: 0 auto; }
.section-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem; letter-spacing: -0.02em;
}
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.product-full {
  border: 1px solid rgba(255,255,255,0.12);
  padding: 2.5rem; position: relative; overflow: hidden;
  transition: border-color 0.3s;
}
.product-full:hover { border-color: rgba(255,255,255,0.3); }
.product-full::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.product-full:hover::before { transform: scaleX(1); }
.pf-num {
  font-family: 'DM Serif Display', serif;
  font-size: 4rem; opacity: 0.08;
  position: absolute; top: 1rem; right: 1.5rem; line-height: 1;
}
.pf-tag {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; font-weight: 500;
}
.pf-name { font-family: 'DM Serif Display', serif; font-size: 2rem; margin-bottom: 0.75rem; }
.pf-desc {
  font-size: 0.9rem; color: rgba(245,242,236,0.6);
  font-weight: 300; line-height: 1.7; margin-bottom: 1.5rem;
}
.pf-features { list-style: none; margin-bottom: 2rem; }
.pf-features li {
  font-size: 0.82rem; color: rgba(245,242,236,0.7);
  padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 0.6rem;
}
.pf-features li::before { content: '->'; color: var(--accent); font-size: 0.75rem; }
.pf-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--paper); text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.6rem 1.25rem;
  transition: background 0.2s, border-color 0.2s; letter-spacing: 0.04em;
}
.pf-link:hover { background: var(--accent); border-color: var(--accent); }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact {
  max-width: 1200px; margin: 0 auto;
  padding: 6rem 3rem;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.contact h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem; line-height: 1.1;
  letter-spacing: -0.03em; margin-bottom: 1rem;
}
.contact h2 em { font-style: italic; color: var(--accent); }
.contact p { color: var(--muted); font-weight: 300; line-height: 1.7; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, textarea {
  width: 100%; background: white; border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.875rem; color: var(--ink);
  outline: none; transition: border-color 0.2s;
}
input:focus, textarea:focus { border-color: var(--accent); }
textarea { resize: vertical; min-height: 100px; }
::placeholder { color: #b0aa9f; }
.submit-btn {
  background: var(--ink); color: var(--paper); border: none;
  padding: 1.1rem 2rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.875rem; font-weight: 500;
  cursor: pointer; letter-spacing: 0.04em;
  transition: background 0.2s; align-self: stretch; width: 100%; justify-content: center;

}
.submit-btn:hover { background: var(--accent); }

/* ============================================================
   DATENSCHUTZ / IMPRESSUM
   ============================================================ */
.legal-page {
  max-width: 800px; margin: 0 auto;
  padding: 8rem 3rem 6rem;
}
.legal-page h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.4rem; margin-bottom: 0.5rem;
}
.legal-intro {
  color: var(--muted); font-size: 0.875rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.legal-page h3 {
  font-size: 1rem; font-weight: 500; margin-top: 1.5rem; margin-bottom: 0.5rem;
}
.legal-page p {
  color: var(--muted); font-weight: 300; line-height: 1.8;
  margin-bottom: 0.75rem; font-size: 0.925rem;
}
.legal-page a { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto;
}
.footer-brand { font-family: 'DM Serif Display', serif; font-size: 0.95rem; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.8rem; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 0.78rem; color: var(--muted); }

/* ============================================================
   ANIMATIONEN
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-text > * { animation: fadeUp 0.6s ease both; }
.hero-eyebrow  { animation-delay: 0.1s; }
h1             { animation-delay: 0.2s; }
.hero-sub      { animation-delay: 0.3s; }
.hero-cta      { animation-delay: 0.4s; }
.hero-visual   { animation: fadeUp 0.8s 0.3s ease both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; gap: 2.5rem; }
  .hero-visual { grid-template-columns: 1fr; }
  .product-card:first-child { grid-column: 1; grid-template-columns: 1fr; }
  .about, .contact { grid-template-columns: 1fr; padding: 4rem 1.5rem; }
  .products { padding: 4rem 1.5rem; }
  .products-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
  .legal-page { padding: 6rem 1.5rem 4rem; }
}
