/* meine-tomaten.bany.de — Stylesheet konsistent zum Material-3-Theme
   der App: vibrant Tomato-Red Primary, Leaf-Green-Akzent, cremiger
   Surface-Hintergrund (#FFF8E1). */

:root {
  --tomato-red: #d50000;
  --tomato-red-dark: #9b0000;
  --tomato-red-container: #ffdad6;
  --leaf-green: #2e7d32;
  --leaf-green-light: #66bb6a;
  --surface: #fff8e1;
  --surface-card: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-tertiary: #888;
  --border: #e8dccf;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
}

/* ===== Header ===== */

header {
  background: var(--tomato-red);
  color: #fff;
  padding: 16px 16px;
  box-shadow: var(--shadow);
}

header .container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

header .logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 2px;
}

header h1 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  flex-grow: 1;
}

header a {
  color: #fff;
  text-decoration: none;
}

header a:hover {
  color: #fff;
}

header nav {
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
}

header nav a {
  opacity: 0.9;
  white-space: nowrap;
}

header nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 600px) {
  header nav {
    display: none;
  }
}

/* ===== Main ===== */

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

main h1,
main h2,
main h3 {
  color: var(--tomato-red);
  margin-top: 1.8em;
  margin-bottom: 0.4em;
  line-height: 1.25;
}

main h1:first-child,
main > .hero + h1,
main > .hero ~ h1:first-of-type {
  margin-top: 0;
}

main h1 {
  font-size: 2rem;
}

main h2 {
  font-size: 1.4rem;
}

main h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
}

main p {
  margin: 0.8em 0;
  color: var(--text-primary);
}

main ul,
main ol {
  padding-left: 1.4em;
}

main ul li,
main ol li {
  margin: 0.3em 0;
}

a {
  color: var(--leaf-green);
}

a:hover {
  color: var(--tomato-red);
}

code {
  background: #f3e8d8;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

/* ===== Hero ===== */

.hero {
  background: linear-gradient(
    135deg,
    var(--tomato-red-container),
    var(--surface) 70%
  );
  border-radius: 16px;
  padding: 32px 28px;
  margin: 0 0 32px;
  text-align: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 2.2rem;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  max-width: 560px;
  margin: 0 auto 20px;
}

.hero .hero-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  display: block;
}

.hero .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.hero .badges img {
  height: 48px;
}

.hero .pill {
  display: inline-block;
  background: var(--leaf-green);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

/* ===== Feature-Grid ===== */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.feature {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
}

.feature .emoji {
  font-size: 2rem;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--tomato-red);
}

.feature p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Sections ===== */

section {
  margin: 32px 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.cta {
  display: inline-block;
  background: var(--tomato-red);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  transition: background 0.15s;
}

.cta:hover {
  background: var(--tomato-red-dark);
  color: #fff;
}

.cta.secondary {
  background: var(--surface-card);
  color: var(--tomato-red);
  border: 1px solid var(--tomato-red);
}

.cta.secondary:hover {
  background: var(--tomato-red-container);
}

/* ===== Stores (QR-Codes) ===== */

.stores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.store-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.store-card img {
  width: 160px;
  height: 160px;
  display: block;
  margin: 0 auto 12px;
  background: #fff;
  border-radius: 6px;
}

.store-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--tomato-red);
}

.store-card p {
  margin: 0;
  font-size: 0.88rem;
  word-break: break-all;
}

/* ===== Hinweis-Box ===== */

.placeholder-note {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--tomato-red);
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.placeholder-note strong {
  color: var(--tomato-red);
}

/* ===== Footer ===== */

footer {
  border-top: 1px solid var(--border);
  background: var(--surface-card);
  padding: 28px 16px;
  margin-top: 48px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

footer .container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

footer nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer nav a:hover {
  color: var(--tomato-red);
  text-decoration: underline;
}

footer .copyright {
  color: var(--text-tertiary);
}
