/* Prionto – Webseite. Farben aus dem App-Design „Journal“ (Design.swift) */
:root {
  /* Die eine Farbpalette der Webseite. Alle Werte stammen aus dem App-Design (Design.swift). */
  /* Papier */
  --grund: #F7F4EF;
  --papier: #FCFAF6;
  --papier-tief: #EFEAE1;
  --spur: #E2DDD5;
  --spur-dunkel: #CFC9BF;
  /* Schrift */
  --titel: #2C353F;
  --text: #4A5566;
  /* Grau */
  --grau-dunkel: #6B7380;
  --grau: #8B95A1;
  --grau-hell: #B5BAC1;
  /* Navy */
  --navy-hell: #7D8AA0;
  --navy: #44546E;
  --navy-tief: #2F3C55;
  /* Akzente */
  --ocker: #E69A32;
  --prio: #FFF3DE;
  --rot: #E5484D;
  /* Messing, wie der Pin in der App */
  --messing: conic-gradient(from -30deg, #B98F4C, #F2DDA4, #C59C58, #9C763A, #E6CC8E, #FFF1C8, #C09550, #8F6B33, #D9BB7A, #B98F4C);
  /* Zettel */
  --mint: #D8E2DC;
  --sand: #F3E9DC;
  --flieder: #E5E0EC;
  --hellblau: #D4E0F0;
  /* Alte Namen, zeigen auf die Palette */
  --ueberschrift: var(--text);
  --zitat: var(--text);
  --schatten: 0 1px 2px rgba(44,53,63,.06), 0 14px 32px rgba(44,53,63,.12);
  --rund: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --serif: "Lora", Georgia, serif;
  --hand: "Caveat", "Snell Roundhand", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--titel);
  font-family: var(--rund);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* feine Papierstruktur */
  background-image:
    radial-gradient(rgba(44,53,63,.035) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 22px 22px, 31px 31px;
  background-position: 0 0, 11px 7px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
.innen { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; background: rgba(247,244,239,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--spur); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--titel); font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.marke img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 6px rgba(44,53,63,.18); }
.kopf nav { display: flex; gap: 22px; align-items: center; }
.kopf nav a { text-decoration: none; color: var(--ueberschrift); font-weight: 700; font-size: 16px; }
.kopf nav a:hover { color: var(--titel); }
.kopf nav a.knopf, .kopf nav a.knopf:hover { color: #fff; }
.sprache { border: 1px solid var(--spur); border-radius: 999px; padding: 3px 12px; font-size: 14px !important; }
@media (max-width: 720px) { .kopf nav a:not(.sprache) { display: none; } }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(var(--navy), var(--navy-tief));
  color: #fff; text-decoration: none; font-weight: 800; font-size: 17px;
  padding: 14px 24px; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 6px 16px rgba(30,39,56,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.knopf:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 22px rgba(30,39,56,.3); }
.knopf svg { width: 22px; height: 22px; }
.knopf small { display: block; font-weight: 600; font-size: 11px; opacity: .75; line-height: 1.1; }
.knopf span { line-height: 1.15; text-align: left; }
.leise { font-size: 15px; color: var(--zitat); }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .innen { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 7vw, 76px); line-height: 1.02; margin: 0 0 6px; letter-spacing: -.025em; font-weight: 900; }
.leitsatz { font-family: var(--hand); font-size: clamp(30px, 4vw, 42px); color: var(--ueberschrift); margin: 0 0 22px; line-height: 1.1; }
.hero p.text { font-size: 20px; color: var(--zitat); max-width: 34ch; margin: 0 0 30px; }
.hero .aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.zettel-buehne { position: relative; display: grid; place-items: center; min-height: 420px; }
.zettel-gross { width: min(340px, 78vw); transform: rotate(-3deg); filter: drop-shadow(6px 14px 18px rgba(44,53,63,.22)); animation: landen .9s cubic-bezier(.2,.9,.3,1.2) both; }
.zettel-gross img { width: 100%; }
.pin {
  position: absolute; left: 50%; top: 4%; width: 46px; height: 46px; border-radius: 50%; transform: translateX(-50%);
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.8), rgba(255,255,255,0) 40%),
    var(--messing);
  box-shadow: inset 0 0 0 2px rgba(122,90,38,.45), 4px 6px 7px rgba(42,30,12,.38);
  animation: pinnen .5s .55s cubic-bezier(.3,1.6,.5,1) both;
}
@keyframes landen { from { opacity: 0; transform: translateY(-40px) rotate(-9deg) scale(1.12); } }
@keyframes pinnen { from { opacity: 0; transform: translate(-50%, -30px) scale(1.8); } }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .innen { grid-template-columns: 1fr; text-align: center; }
  .hero p.text { margin-inline: auto; }
  .hero .aktion { justify-content: center; }
  .zettel-buehne { min-height: 0; order: -1; }
  .zettel-gross { width: 220px; }
  .pin { width: 32px; height: 32px; }
}

/* Abschnitte */
section { padding: 72px 0; }
.abschnitt-kopf { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.abschnitt-kopf h2 { font-size: clamp(32px, 4.5vw, 46px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -.02em; font-weight: 900; }
.abschnitt-kopf p { color: var(--zitat); margin: 0; font-size: 19px; }
.marke-klein { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--ocker); margin-bottom: 10px; }

/* Funktionen als Zettel */
.pinnwand { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px 26px; }
.zettel {
  position: relative; padding: 34px 24px 26px; border-radius: 3px;
  box-shadow: 2px 3px 0 rgba(255,255,255,.4) inset, var(--schatten);
  transition: transform .2s ease;
}
.zettel { --r: 0deg; transform: rotate(var(--r)); }
.zettel:nth-child(4n+1) { background-color: var(--mint); --r: -1.2deg; }
.zettel:nth-child(4n+2) { background-color: var(--sand); --r: .9deg; }
.zettel:nth-child(4n+3) { background-color: var(--flieder); --r: -.6deg; }
.zettel:nth-child(4n+4) { background-color: var(--hellblau); --r: 1.3deg; }
.zettel:hover { transform: rotate(0deg) translateY(-4px) !important; }
.zettel::before {
  content: ""; position: absolute; top: -9px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.85), rgba(255,255,255,0) 45%),
    var(--messing);
  box-shadow: inset 0 0 0 1px rgba(122,90,38,.5), 2px 3px 4px rgba(42,30,12,.35);
}
.zettel h3 { margin: 0 0 8px; font-size: 22px; font-weight: 900; line-height: 1.2; }
.zettel p { margin: 0; color: var(--zitat); font-size: 17px; }
.zettel .symbol { width: 34px; height: 34px; margin-bottom: 12px; color: var(--titel); }
.zettel.prio { outline: 2px solid var(--ocker); outline-offset: -2px; }
.prio-marke { display: inline-block; background: var(--ocker); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .08em; padding: 2px 10px; border-radius: 999px; margin-bottom: 10px; }

/* So funktioniert's */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.schritt { background: var(--papier); border: 1px solid var(--spur); border-radius: 22px; padding: 28px; box-shadow: 0 1px 2px rgba(44,53,63,.05); }
.schritt b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--grau); font-family: var(--hand); font-size: 30px; font-weight: 700; margin-bottom: 14px; }
.schritt h3 { margin: 0 0 6px; font-size: 21px; font-weight: 900; }
.schritt p { margin: 0; color: var(--zitat); font-size: 17px; }
@media (max-width: 860px) { .schritte { grid-template-columns: 1fr; } }

/* Zitat */
.zitat-band { text-align: center; padding: 64px 0; }
.zitat-band blockquote { margin: 0 auto; max-width: 760px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.35; color: var(--zitat); min-height: 3em; transition: opacity .5s ease; }
.zitat-band .strich { width: 60px; height: 3px; background: var(--ocker); border-radius: 2px; margin: 0 auto 26px; }

/* Datenschutz-Band */
.privat { background: var(--titel); color: var(--papier); border-radius: 32px; padding: 56px clamp(24px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.privat h2 { color: #fff; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0 0 14px; font-weight: 900; letter-spacing: -.02em; }
.privat p { margin: 0; color: var(--grau-hell); }
.privat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.privat li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.privat li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--ocker) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 860px) { .privat { grid-template-columns: 1fr; } }

/* Schluss */
.schluss { text-align: center; }
.schluss img { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 22px; box-shadow: var(--schatten); }
.schluss h2 { font-size: clamp(32px, 4.5vw, 46px); margin: 0 0 8px; font-weight: 900; letter-spacing: -.02em; }
.schluss p { color: var(--zitat); margin: 0 0 28px; }

/* Fuß */
.fuss { border-top: 1px solid var(--spur); padding: 32px 0 44px; font-size: 15px; color: var(--zitat); }
.fuss .innen { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 20px; }
.fuss a { color: var(--zitat); text-decoration: none; font-weight: 700; }
.fuss a:hover { color: var(--titel); }

/* Rechtsseiten */
.recht { padding: 56px 0 80px; }
.recht article { max-width: 720px; margin-inline: auto; background: var(--papier); border: 1px solid var(--spur); border-radius: 24px; padding: clamp(24px, 5vw, 52px); }
.recht h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 4px; font-weight: 900; letter-spacing: -.02em; }
.recht h2 { font-size: 21px; margin: 30px 0 6px; font-weight: 900; }
.recht p, .recht li { color: var(--zitat); }
.recht .stand { color: var(--grau); margin-top: 0; }
.hinweis { background: var(--prio); border: 1px solid var(--ocker); border-radius: 14px; padding: 14px 18px; color: var(--titel) !important; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
}
