/* Stallora Marketing-Website (stallora.de) — V1.10
   Richtung „A+B": echte Fotos + Stallbrett-Erzählung, Farben der Marke.
   Bewusst ohne externe Abhängigkeiten: Schrift liegt daneben, kein CDN, kein Tracking. */

:root {
    --creme: #F5EBE0;
    --creme-hell: #FBF6EE;
    --karte: #FFFFFF;
    --beige: #EDD9C6;
    --braun: #A9714B;
    --braun-dunkel: #8B5E3C;
    --akzent: #C68863;
    --text: #4A342A;
    --text-2: #8A6F5F;
    --nacht: #3A2820;
    --nacht-2: #4A342A;
    --holz: #6B4F3A;
    --gruen: #7A8B6F;
    --rot: #A94B4B;
    --zettel-gelb: #F7EFC9;
    --zettel-blau: #E3EDF3;
}

@font-face {
    font-family: "Caveat";
    src: url("assets/caveat-latin.woff2") format("woff2");
    font-weight: 500 600;
    font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--creme);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

.hand { font-family: "Caveat", cursive; }

.inhalt { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Kopfzeile ---------- */

header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    padding: 18px 0;
}

.kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marke img { width: 42px; height: 42px; border-radius: 10px; }
.marke span { font-size: 1.25rem; font-weight: 700; color: var(--creme); letter-spacing: 0.02em; }

.kopf-kontakt {
    color: var(--creme);
    text-decoration: none;
    font-size: 0.95rem;
    border: 1px solid rgba(245, 235, 224, 0.55);
    padding: 8px 18px;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
}
.kopf-kontakt:hover { background: var(--creme); color: var(--nacht); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    background: var(--nacht);
    isolation: isolate;
}

.hero-bild {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Dunkler Schleier, damit Text auf jedem Foto lesbar bleibt */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(38, 24, 16, 0.88) 0%, rgba(38, 24, 16, 0.35) 55%, rgba(38, 24, 16, 0.25) 100%);
}

.hero-text { padding: 140px 0 84px; max-width: 640px; }

.hero-hand {
    font-size: 1.6rem;
    color: var(--akzent);
    margin-bottom: 10px;
    display: block;
    transform: rotate(-1.2deg);
}

.hero h1 {
    font-size: clamp(2.1rem, 5.4vw, 3.4rem);
    line-height: 1.12;
    color: var(--creme);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hero p {
    color: #D9C8BB;
    font-size: 1.12rem;
    margin: 18px 0 30px;
    max-width: 46ch;
}

.knopf {
    display: inline-block;
    background: var(--braun);
    color: var(--creme);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 30px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.knopf:hover { background: var(--braun-dunkel); transform: translateY(-1px); }

.hero-hinweis { margin-top: 14px; font-size: 0.85rem; color: #B9A697; }

/* ---------- Abschnitte allgemein ---------- */

section { padding: 84px 0; }

.vorzeile {
    font-size: 1.35rem;
    color: var(--braun);
    display: block;
    margin-bottom: 6px;
    transform: rotate(-1deg);
}

h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.3rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.unterzeile { color: var(--text-2); margin-top: 12px; max-width: 60ch; }

/* ---------- Stallbrett ---------- */

.stallbrett { background: var(--holz); position: relative; overflow: hidden; }
.stallbrett h2, .stallbrett .vorzeile { color: var(--creme); }
.stallbrett .vorzeile { color: var(--zettel-gelb); }
.stallbrett .unterzeile { color: #D9C8BB; }

/* Holzlatten nur angedeutet */
.stallbrett::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to right, transparent 0, transparent 218px, rgba(0,0,0,0.09) 218px, rgba(0,0,0,0.09) 222px);
    pointer-events: none;
}

.zettelwand {
    margin-top: 44px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 26px 22px;
    position: relative;
}

.zettel {
    background: var(--zettel-gelb);
    border-radius: 3px;
    padding: 40px 16px 16px;
    position: relative;
    box-shadow: 0 6px 14px rgba(20, 12, 6, 0.28);
    font-size: 1.35rem;
    line-height: 1.25;
    color: var(--text);
}

.zettel.weiss { background: #FFFDF6; }
.zettel.blau { background: var(--zettel-blau); }
.zettel:nth-child(odd) { transform: rotate(-2.2deg); }
.zettel:nth-child(even) { transform: rotate(1.6deg); }
.zettel:nth-child(3n) { transform: rotate(3deg); }

.zettel small {
    display: block;
    margin-top: 8px;
    font-family: inherit;
    font-size: 1.05rem;
    color: var(--text-2);
}

/* Pinnadel */
.zettel::before {
    content: "";
    position: absolute;
    top: 14px; left: 50%;
    width: 14px; height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: var(--rot);
    box-shadow: inset -2px -2px 3px rgba(0,0,0,0.35), 0 2px 3px rgba(0,0,0,0.35);
}

.brett-schluss {
    margin-top: 40px;
    text-align: center;
    color: var(--creme);
    font-size: 1.15rem;
}
.brett-schluss .hand { font-size: 1.5rem; color: var(--zettel-gelb); }

/* ---------- Verwandlung ---------- */

.verwandlung { background: var(--creme); text-align: center; padding: 72px 0; }

.pfeil-runter {
    width: 46px; height: 46px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--braun);
    color: var(--creme);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.versprechen {
    margin: 30px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 26px;
    max-width: 760px;
    padding: 0;
    list-style: none;
}

.versprechen li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 1rem;
}

.haken {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--gruen);
    color: #fff;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

/* ---------- Funktionen ---------- */

.funktionen { background: var(--creme-hell); }

.funktion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-top: 64px;
}

.funktion:first-of-type { margin-top: 48px; }
.funktion.getauscht .funktion-bild { order: 2; }

.funktion h3 { font-size: 1.45rem; margin-bottom: 10px; font-weight: 700; }
.funktion p { color: var(--text-2); max-width: 48ch; }
.funktion .hand-note { color: var(--braun); font-size: 1.3rem; margin-top: 12px; display: inline-block; transform: rotate(-1deg); }

/* Handy-Rahmen um App-Screenshots */
.handy {
    width: min(300px, 78%);
    margin: 0 auto;
    background: #1c1c1e;
    border-radius: 38px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(58, 40, 32, 0.25);
}
.handy img { border-radius: 30px; }

/* Browser-Rahmen um Web-Screenshots */
.browser {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(58, 40, 32, 0.22);
    border: 1px solid var(--beige);
}
.browser-leiste {
    background: var(--beige);
    padding: 9px 12px;
    display: flex;
    gap: 6px;
}
.browser-leiste i { width: 10px; height: 10px; border-radius: 50%; background: rgba(74, 52, 42, 0.35); }

/* ---------- Foto-Zwischenmoment ---------- */

.moment { padding: 0; position: relative; background: var(--nacht-2); isolation: isolate; }
.moment img { width: 100%; height: 520px; object-fit: cover; z-index: -2; position: relative; }
.moment::after {
    content: "";
    position: absolute; inset: 0;
    background: rgba(38, 24, 16, 0.42);
    z-index: -1;
}
.moment-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 22px;
}
.moment-text .hand { font-size: clamp(1.7rem, 4.5vw, 2.6rem); color: var(--creme); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.moment-text span { color: #D9C8BB; margin-top: 8px; font-size: 1rem; }

/* ---------- Sicherheit ---------- */

.sicherheit { background: var(--creme); }

.sicher-karten {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.sicher-karte {
    background: var(--karte);
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 4px 14px rgba(74, 52, 42, 0.08);
}
.sicher-karte strong { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.sicher-karte p { font-size: 0.92rem; color: var(--text-2); }

/* ---------- Gründer ---------- */

.gruender { background: var(--creme-hell); }

/* Geparkt seit 23.09.2026: Der Abschnitt zeigt vorerst kein Foto, der Text steht
   einspaltig. Kommt ein echtes Bild dazu, umschliesst „gruender-lage" wieder ein
   „gruender-bild" und den Text — dann greifen diese beiden Regeln erneut. */
.gruender-lage {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 52px;
    align-items: center;
    margin-top: 20px;
}

.gruender-bild img {
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(58, 40, 32, 0.2);
    transform: rotate(-1.5deg);
}

.gruender-text p { margin-bottom: 14px; max-width: 58ch; }
.gruender-text .hand { font-size: 1.5rem; color: var(--braun); }

/* ---------- App in den Stores ---------- */

/* Bewusst ohne die offiziellen Badge-Grafiken von Apple und Google: die haben eigene
   Vorgaben zu Groesse, Abstand und Umfeld, und nachgezeichnete Logos sind nicht erlaubt.
   Hier stehen nur die Store-Namen als Text — das darf man, und es passt zur Seite.
   Sollen spaeter die echten Badges rein, ersetzen sie den Inhalt von „store-knopf". */
.stores { background: var(--beige); text-align: center; }
.stores .unterzeile { margin-left: auto; margin-right: auto; }

.store-knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 34px;
}

.store-knopf {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 238px;
    padding: 12px 30px;
    border-radius: 12px;
    background: var(--nacht);
    color: var(--creme);
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.store-knopf:hover { background: var(--nacht-2); transform: translateY(-1px); }

.store-klein { font-size: 0.8rem; color: #D9C8BB; letter-spacing: 0.03em; }
.store-gross { font-size: 1.3rem; font-weight: 600; line-height: 1.3; }

.store-hinweis { margin-top: 18px; font-size: 0.85rem; color: var(--text-2); }

/* ---------- Kontakt ---------- */

.kontakt { background: var(--nacht); }
.kontakt h2, .kontakt .vorzeile { color: var(--creme); }
.kontakt .vorzeile { color: var(--akzent); }
.kontakt .unterzeile { color: #D9C8BB; }

.kontakt-lage {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    margin-top: 36px;
}

.kontakt-info { color: #D9C8BB; font-size: 0.98rem; }
.kontakt-info p { margin-bottom: 16px; max-width: 40ch; }

form { display: grid; gap: 14px; }

label { font-size: 0.9rem; color: #D9C8BB; display: grid; gap: 6px; }

input, textarea {
    font: inherit;
    color: var(--text);
    background: var(--creme-hell);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--akzent); }
textarea { min-height: 130px; resize: vertical; }

/* Honigtopf: für Menschen unsichtbar, Programme füllen ihn trotzdem aus */
.firma-feld { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }

.formular-status { font-size: 0.95rem; min-height: 1.4em; }
.formular-status.ok { color: #A8C69B; }
.formular-status.fehler { color: #E8A9A9; }

.datenschutz-zeile { font-size: 0.8rem; color: #B9A697; }
.datenschutz-zeile a { color: #D9C8BB; }

/* ---------- Fußzeile ---------- */

footer {
    background: var(--nacht);
    border-top: 1px solid rgba(245, 235, 224, 0.12);
    padding: 26px 0;
    color: #B9A697;
    font-size: 0.88rem;
}
.fuss { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; }
footer a { color: #D9C8BB; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ---------- Sanftes Einblenden beim Scrollen ---------- */

.zeigt-sich { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.zeigt-sich.da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .zeigt-sich { opacity: 1; transform: none; transition: none; }
}

/* ---------- Handy ---------- */

@media (max-width: 760px) {
    section { padding: 58px 0; }
    .hero { min-height: 86vh; }
    .hero-text { padding: 120px 0 56px; }
    .funktion { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
    .funktion.getauscht .funktion-bild { order: 0; }
    .gruender-lage { grid-template-columns: 1fr; gap: 28px; }
    .gruender-bild { max-width: 260px; }
    .kontakt-lage { grid-template-columns: 1fr; gap: 30px; }
    .moment img { height: 380px; }
    .zettelwand { gap: 18px 14px; }
    .zettel { font-size: 1.2rem; }
}
