:root {
  --bg: #f3f5f9;
  --bg-glow: #e8eef8;
  --ink: #0c0f14;
  --ink-soft: #5c6573;
  --line: rgba(12, 15, 20, 0.08);
  --blue: #0a7aff;
  /* Dert Palette 01 */
  --dert-green: #3E5F44;
  --dert-deep: #29432F;
  --dert-darkest: #1C2D20;
  --dert-pale: #C2CDBE;
  --dert-beige: #DDD6B9;
  --dert-cream: #F5F2E8;
  --font: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: "SF Mono", Menlo, monospace;
  --shadow: 0 16px 40px rgba(15, 30, 60, 0.1);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 50% -8%, var(--bg-glow), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, var(--bg) 50%, #eef2f7 100%);
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 3.5rem;
}

.hero {
  text-align: center;
  margin-bottom: 2.4rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a93a3;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6.5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 800;
}

h1 span {
  color: #3a4454;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
}

.lede {
  margin: 1rem auto 0;
  max-width: 28rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 1.05rem;
}

.apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(15, 30, 60, 0.14);
}

/* ——— Dert — hervorgehoben mit Topografie-Einfluss (Palette 01) ——— */
.app-card--dert {
  background:
    radial-gradient(420px 220px at 18% 0%, rgba(194,205,190,0.32), transparent 62%),
    radial-gradient(320px 180px at 92% 100%, rgba(221,214,185,0.36), transparent 58%),
    linear-gradient(180deg, #fdfcfa 0%, #F5F2E8 100%);
  border-color: rgba(41, 67, 47, 0.12);
  position: relative;
  overflow: hidden;
}

.app-card--dert::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='160' viewBox='0 0 360 160'%3E%3Cg fill='none' stroke='%233E5F44' stroke-width='0.85' stroke-opacity='0.9'%3E%3Cpath d='M-20 40 C 60 26, 110 58, 180 42 S 280 12, 340 30 S 380 52, 400 36'/%3E%3Cpath d='M-20 72 C 70 58, 120 88, 190 72 S 290 42, 350 60 S 380 84, 400 68'/%3E%3Cpath d='M-20 104 C 80 90, 130 120, 210 104 S 300 74, 360 92 S 380 116, 400 100'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 360px 160px;
}

.app-card--dert .app-icon {
  border: 1px solid rgba(28,45,32,0.08);
}

.app-card--dert .app-link {
  color: var(--dert-green);
}

.badge-new {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  background: var(--dert-green);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.app-card--durstlos .app-icon {
  border-radius: 50%;
}

.app-copy h2 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.app-copy p {
  margin: 0 0 0.55rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.app-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
}

.contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.contact h2 {
  margin: 0 0 0.7rem;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.contact p {
  margin: 0;
  color: var(--ink-soft);
}

.contact a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.contact a:hover {
  text-decoration: underline;
}

.maker-mark-link {
  display: block;
  width: fit-content;
  margin: 1.25rem auto 0;
  line-height: 0;
}

.maker-mark {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.maker-mark-link:hover .maker-mark {
  opacity: 1;
}

.site-footer {
  margin-top: 2rem;
  text-align: center;
  color: #8a93a3;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .apps {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-card {
    transition: none;
  }
}
