/* ==========================================================================
   onetwome.de — Landingpage CateringManager (12ME Software Solutions)
   Plain CSS, keine externen Abhaengigkeiten (offline-/Deploy-Now-tauglich).
   Eine Quelle pro Verhalten: Farben/Abstaende als CSS-Variablen, hier zentral.
   ========================================================================== */

:root {
  /* --- Marke (12ME-Logo: Blau/Indigo/Violett) — hier zentral aendern --- */
  --accent:        #4f46e5;   /* Indigo — 12ME "2"-Kachel (Primaerfarbe) */
  --accent-dark:   #4338ca;
  --accent-soft:   #e0e7ff;
  --accent-blue:   #2563eb;   /* Blau — 12ME "1"/"E"-Kachel (tief genug fuer weisse Schrift) */
  --accent-violet: #8b5cf6;   /* Violett — 12ME "M"-Kachel (fuer Verlaeufe) */

  --ink:           #1c1f33;   /* Haupttext (kuehles Dunkelblau) */
  --ink-soft:      #565d72;   /* Sekundaertext */
  --line:          #e5e7f0;   /* Rahmen/Trenner */
  --bg:            #ffffff;
  --bg-alt:        #f5f6fc;   /* abgesetzte Sektionen (kuehl) */

  --maxw:          1120px;
  --radius:        14px;
  --shadow:        0 1px 2px rgba(20,32,31,.04), 0 8px 24px rgba(20,32,31,.06);
  --font:          system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 750; }
h3 { font-size: 1.18rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: var(--ink); font-size: 1.25rem; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand .mark { color: var(--accent); }
.brand .tag  { font-size: .72rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ink); text-decoration: none; }
/* Button im Header behaelt weisse Schrift (sonst ueberschreibt .nav a die .btn-Farbe) */
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
@media (max-width: 760px) { .nav .nav-link { display: none; } }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-block; font-weight: 700; font-size: .98rem;
  padding: 12px 22px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: transform .06s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-violet)); color: #fff; box-shadow: 0 6px 18px rgba(79,70,229,.28); }
.btn-primary:hover { color: #fff; filter: brightness(1.07); box-shadow: 0 10px 24px rgba(79,70,229,.34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(1000px 360px at 85% -10%, var(--accent-soft), transparent 60%),
    radial-gradient(820px 300px at 0% 0%, #f3e8ff, transparent 55%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero .eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  text-transform: uppercase; color: #fff;
  background: var(--accent-blue); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
.hero h1 { max-width: 16ch; overflow-wrap: break-word; hyphens: auto; }
.hero-text { overflow-wrap: break-word; hyphens: auto; }
.hero .lead { font-size: 1.18rem; max-width: 56ch; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .micro { margin-top: 18px; font-size: .9rem; color: var(--ink-soft); }

/* Zwei-Spalten-Hero: Text links, Produkt-Screenshot rechts */
.hero-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 36px; align-items: center; }
.hero-text { min-width: 0; }
.hero-media { min-width: 0; }
.hero-shot {
  display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(28,31,51,.16);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { max-width: none; }
}

/* Screenshot-Carousel im Hero (Pfeile, Punkte, Tastatur) */
.carousel { position: relative; }
.carousel-stage { position: relative; }
.carousel-viewport {
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  border-radius: 14px; border: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(28,31,51,.16); background: #eef0f8;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track { display: contents; }
.slide {
  position: relative; flex: 0 0 100%; aspect-ratio: 16 / 9; overflow: hidden;
  display: flex; align-items: flex-end; cursor: zoom-in; scroll-snap-align: start;
  background: linear-gradient(135deg, #f5f6fc, #ede9fe);
}
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.slide figcaption {
  position: relative; z-index: 1; width: 100%; padding: 30px 14px 10px;
  background: linear-gradient(transparent, rgba(14,16,36,.74));
  color: #fff; font-weight: 600; font-size: .9rem;
}
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.5rem; line-height: 1;
  cursor: pointer; box-shadow: 0 4px 12px rgba(28,31,51,.14);
  display: flex; align-items: center; justify-content: center;
}
.car-arrow:hover { background: #fff; color: var(--accent); }
.car-prev { left: -12px; }
.car-next { right: -12px; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.car-dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: #cbd0e0; transition: width .2s ease, background .2s ease; }
.car-dot.active { background: var(--accent); width: 22px; border-radius: 5px; }
.car-hint { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 10px; }
.car-note { text-align: center; font-size: .76rem; color: var(--ink-soft); opacity: .75; margin-top: 4px; }

/* Lightbox / Grossansicht */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; background: rgba(8,10,24,.9); padding: 24px; }
.lightbox.open { display: flex; }
.lb-img { max-width: 94vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 24px 64px rgba(0,0,0,.55); }
.lb-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-close:hover, .lb-arrow:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 600; font-size: .95rem; }
@media (max-width: 600px) { .lb-arrow { width: 44px; height: 44px; } }

/* --- Sektionen ---------------------------------------------------------- */
section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head p { font-size: 1.08rem; }

/* --- So funktioniert's (Ablauf) ------------------------------------------ */
.how .steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) { .how .steps { grid-template-columns: 1fr; } }
.how .step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.how .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-bottom: 14px;
  border-radius: 999px; color: #fff; font-weight: 800; font-size: 1.05rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-violet));
  box-shadow: 0 6px 16px rgba(79,70,229,.25);
}
.how .step h3 { margin-bottom: .35em; }
.how .step p { margin: 0; font-size: .97rem; }
.how-foot { margin: 26px 0 0; font-size: .95rem; color: var(--ink-soft); }

/* --- Feature-Grid ------------------------------------------------------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: border-color .15s ease, transform .08s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(28,31,51,.10); }
.card .ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 16px; font-size: 1.5rem;
  border-radius: 13px; background: linear-gradient(135deg, var(--accent-soft), #ede9fe);
}
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; font-size: .97rem; }

/* --- USP-Band (EU-Souveraenitaet) -------------------------------------- */
.usp {
  background: linear-gradient(120deg, var(--accent-blue), var(--accent) 55%, var(--accent-violet));
  color: #fff; border: 0;
}
.usp h2 { color: #fff; }
.usp p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 60ch; }
.usp .pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.usp .pill { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; }

/* --- Tarife / Pricing --------------------------------------------------- */
.price-eyebrow {
  display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .05em;
  text-transform: uppercase; color: #fff; background: var(--accent-blue);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(37,99,235,.22);
}
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .08s ease;
}
.price-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(28,31,51,.10); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 16px 38px rgba(79,70,229,.18); }
.price-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-violet)); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(79,70,229,.3); white-space: nowrap;
}
.price-card h3 { margin-bottom: .15em; }
.price-for { font-size: .9rem; color: var(--ink-soft); margin: 0 0 16px; min-height: 3.6em; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; min-height: 2.6rem; }
.price .amount { font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.price .per { font-size: .92rem; color: var(--ink-soft); font-weight: 600; }
.price.on-request .amount { font-size: 1.5rem; }
.price-feat { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-feat li { position: relative; padding: 8px 0 8px 26px; font-size: .94rem; color: var(--ink);
  border-top: 1px solid var(--line); line-height: 1.45; }
.price-feat li:first-child { border-top: 0; }
.price-feat li::before { content: "\2713"; position: absolute; left: 0; top: 8px; color: var(--accent); font-weight: 800; }
.price-card .btn { width: 100%; text-align: center; margin-top: auto; }
.price-extra { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; margin-top: 28px; }
@media (max-width: 700px) { .price-extra { grid-template-columns: 1fr; } }
.price-extra-item { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.price-extra-item h4 { margin: 0 0 .4em; font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.price-extra-item p { margin: 0; font-size: .92rem; }
.price-extra-item p.note { margin-top: 10px; font-size: .82rem; color: var(--ink-soft); opacity: .85; }
.price-foot { text-align: center; font-size: .9rem; color: var(--ink-soft); margin: 30px 0 0; }

/* --- Kontakt / CTA ------------------------------------------------------ */
.contact { text-align: center; }
.contact .box {
  max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 44px 32px; box-shadow: var(--shadow);
}
.contact .box .cta-row { justify-content: center; margin-top: 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.contact .contact-mail { margin: 16px 0 0; font-size: .92rem; color: var(--ink-soft); }
.contact .contact-mail a { font-weight: 600; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: #0e1024; color: #c4c9db; padding: 48px 0 36px; font-size: .92rem; }
.site-footer a { color: #c4c9db; }
.site-footer a:hover { color: #fff; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer .legal { display: flex; gap: 20px; }
.site-footer .copy { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #7c829a; }

/* --- Rechtsseiten (Impressum/Datenschutz) ------------------------------ */
.legal-page { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.legal-page h1 { font-size: 2rem; margin-bottom: .8em; }
.legal-page h2 { font-size: 1.25rem; margin-top: 1.6em; }
.legal-page p, .legal-page li { color: var(--ink); }
.legal-page .back { display: inline-block; margin-bottom: 24px; font-weight: 600; }
.todo {
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  border-radius: 10px; padding: 14px 18px; margin: 18px 0; font-size: .95rem;
}
.todo strong { color: #7c2d12; }
