/*
 * Kladder-Website – Stechuhr-Design wie in den Apps.
 * tokens: Off-White, Tinte, Siegelrot; Typewriter für die Marke,
 * System-Sans für Fließtext.
 */
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/courier-prime-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Courier Prime';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/courier-prime-700.woff2') format('woff2');
}

:root {
  --bg: #f6f4ee;
  --bg-warm: #fbf4ea;
  --ink: #1a2238;
  --muted: #8a8370;
  --line: #cfc8b8;
  --card: #ffffff;
  --brand: #a32321;
  --font-app: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-type: 'Courier Prime', 'American Typewriter', 'Courier New', monospace;
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-app);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Marke ----- */
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-type);
  font-size: 22px;
  text-decoration: none;
}
.brand-k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 3px;
  border: 2.5px solid var(--brand);
  border-radius: 50%;
  color: var(--brand);
  font-size: 19px;
  line-height: 1;
}
.brand-name { color: var(--brand); }
.brand-app { color: var(--ink); }

/* ----- Kopf ----- */
header.site {
  padding: 28px 0;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  margin-left: 20px;
}
nav.site a:hover { color: var(--ink); }

/* ----- Hero ----- */
.hero {
  text-align: center;
  padding: 56px 0 40px;
}
.hero img.siegel {
  width: 132px;
  height: 132px;
  border-radius: 32px;
}
.hero h1 {
  font-family: var(--font-type);
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 400;
  margin-top: 28px;
  letter-spacing: -0.01em;
}
.hero h1 .rot { color: var(--brand); }
.hero p.claim {
  max-width: 620px;
  margin: 18px auto 0;
  font-size: 19px;
  color: var(--muted);
}
.hero .hinweis {
  display: inline-block;
  margin-top: 26px;
  font-family: var(--font-type);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
}

/* ----- Familie / Prinzip ----- */
.prinzip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
  margin-top: 48px;
}
.prinzip .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.prinzip h3 {
  font-family: var(--font-type);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}
.prinzip p { font-size: 15.5px; }

/* ----- App-Sektionen ----- */
section.app {
  padding: 72px 0;
}
section.app + section.app { border-top: 1px dashed var(--line); }
section.app .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
section.app:nth-of-type(even) .wrap { direction: rtl; }
section.app:nth-of-type(even) .wrap > * { direction: ltr; }

.app-kopf {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.app-kopf img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 1px 0 var(--line);
}
.app-kopf .name {
  font-family: var(--font-type);
  font-size: 26px;
}
.app-kopf .name .rot { color: var(--brand); }
section.app p.lead {
  font-size: 17px;
  margin-bottom: 16px;
}
section.app ul {
  list-style: none;
}
section.app li {
  position: relative;
  padding: 7px 0 7px 26px;
  font-size: 15.5px;
  border-bottom: 1px dashed var(--line);
}
section.app li:last-child { border-bottom: none; }
section.app li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-family: var(--font-type);
}

/* iPhone-Rahmen */
.phone {
  justify-self: center;
  width: min(300px, 80vw);
  border: 10px solid var(--ink);
  border-radius: 44px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(26, 34, 56, 0.18);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----- Zusammenspiel ----- */
.zusammen {
  background: var(--ink);
  color: var(--bg);
  padding: 64px 0;
  text-align: center;
}
.zusammen h2 {
  font-family: var(--font-type);
  font-weight: 400;
  font-size: 30px;
}
.zusammen p {
  max-width: 640px;
  margin: 14px auto 0;
  color: #b9bdcc;
  font-size: 16.5px;
}
.zusammen .fluss {
  margin-top: 30px;
  font-family: var(--font-type);
  font-size: 15px;
  color: var(--bg-warm);
  line-height: 2.1;
}
.zusammen .fluss .pfeil { color: var(--brand); padding: 0 6px; }

/* ----- Kontakt / Fuß ----- */
.kontakt {
  text-align: center;
  padding: 72px 0;
}
.kontakt h2 {
  font-family: var(--font-type);
  font-weight: 400;
  font-size: 28px;
}
.kontakt p {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--muted);
}
.kontakt a.mail {
  display: inline-block;
  margin-top: 24px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  padding: 16px 34px;
  border-radius: 14px;
}

footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
}
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--ink); }

/* ----- Rechtstexte ----- */
main.recht {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}
main.recht h1 {
  font-family: var(--font-type);
  font-weight: 400;
  font-size: 34px;
  margin: 24px 0;
}
main.recht h2 {
  font-family: var(--font-type);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 28px 0 6px;
}
main.recht p { font-size: 16px; }

@media (max-width: 760px) {
  section.app .wrap { grid-template-columns: 1fr; }
  section.app:nth-of-type(even) .wrap { direction: ltr; }
  .phone { margin-top: 8px; }
}

.kontakt .mehr-von-mir {
  margin-top: 22px;
  font-size: 14.5px;
}
.kontakt .mehr-von-mir a { color: var(--brand); }

/* ----- Smooth Scroll ----- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

/* ----- Mobile Navigation (Burger) ----- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.offen span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.offen span:nth-child(2) { opacity: 0; }
.nav-toggle.offen span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  header.site .wrap { position: relative; }
  .nav-toggle { display: flex; }
  nav.site {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 24px;
    left: 24px;
    z-index: 30;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 44px rgba(26, 34, 56, 0.16);
  }
  nav.site.offen { display: block; }
  nav.site a {
    display: block;
    margin: 0;
    padding: 13px 16px;
    font-size: 17px;
    color: var(--ink);
    border-bottom: 1px dashed var(--line);
  }
  nav.site a:last-child { border-bottom: none; }
}
