/* ===== CUONZ.ORG – Shared Stylesheet ===== */

:root {
  --paper-bg: #f5f1e5;
  --paper-bg-deep: #eee3cf;
  --ink: #1f2933;
  --muted: #6b7280;
  --accent: #c06b3e;
  --accent-soft: #f4d2b8;
  --frame: #2f3e46;
  --radius-sm: 8px;
  --radius-md: 14px;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.25);
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #e7dfcf 0, #f5f1e5 40%, #e2d6c0 100%);
  min-height: 100vh;
}

.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px 16px 60px;
}

/* ===== HEADER ===== */

header {
  background: var(--paper-bg);
  border-radius: var(--radius-md);
  border: 2px solid #d6c8af;
  box-shadow: var(--shadow-soft);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 10px;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(15, 23, 42, 0.35));
}

.brand-text-title {
  font-size: 1rem;
  font-weight: 600;
}

.brand-text-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== HAMBURGER BUTTON ===== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid #d6c8af;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== NAV ===== */

nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #111827;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}

nav a:hover,
nav a.active {
  border-color: #c4b08e;
  background: #f9f4e8;
}

/* ===== MAIN ===== */

main {
  margin-top: 26px;
}

/* ===== SECTIONS ===== */

section {
  margin-bottom: 32px;
}

.section-heading {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ===== HERO ===== */

.hero {
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.3fr);
  gap: 22px;
  align-items: center;
}

.hero-main {
  background: var(--paper-bg);
  border-radius: var(--radius-md);
  border: 2px solid #d6c8af;
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-label span.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 2px #bbf7d0;
}

.hero h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin-bottom: 8px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-tagline {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-list span {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px dashed #c4b08e;
  background: #faf5eb;
}

.hero-side {
  position: relative;
}

/* ===== POLAROID ===== */

.polaroid {
  background: #fdfaf5;
  border-radius: 6px;
  border: 1px solid #d6c8af;
  padding: 10px 10px 14px;
  box-shadow: 0 18px 35px rgba(55, 65, 81, 0.55);
  transform: rotate(-3deg);
  max-width: 260px;
  margin: 0 auto;
}

.polaroid-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: linear-gradient(135deg, #9ca3af, #4b5563);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e5e7eb;
  font-size: 0.8rem;
  overflow: hidden;
}

.polaroid-caption {
  margin-top: 8px;
  font-size: 0.8rem;
  text-align: center;
  color: #4b5563;
  font-style: italic;
}

.tape {
  width: 60px;
  height: 20px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    90deg,
    #9ca3af,
    #9ca3af 4px,
    #6b7280 4px,
    #6b7280 7px
  );
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(-4deg);
  opacity: 0.9;
}

/* ===== BUTTONS ===== */

.btn-main,
.btn-ghost {
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #111827;
  background: #f8e7cf;
  cursor: pointer;
  text-decoration: none;
  color: #111827;
  box-shadow: 0 3px 0 #111827;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out;
}

.btn-main:hover,
.btn-ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #111827;
  background: #ffe4c4;
}

.btn-ghost {
  background: #fff9ef;
}

/* ===== GRID & CARDS ===== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--paper-bg);
  border-radius: var(--radius-sm);
  border: 1px solid #d6c8af;
  padding: 12px 13px 13px;
  box-shadow: 0 8px 18px rgba(148, 120, 84, 0.25);
}

.card h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.card ul {
  list-style: none;
  padding-left: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.card li {
  margin-bottom: 4px;
}

/* ===== TAGS ===== */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #cdb89b;
  background: #fdf7eb;
  color: #6b5b45;
}

/* ===== FOOTER ===== */

footer {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #cdb89b;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

footer span strong {
  color: var(--accent);
}

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

footer a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 860px) {
  /* Hamburger sichtbar, Nav als Dropdown */
  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-top: 1px solid #d6c8af;
    padding-top: 10px;
    margin-top: 4px;
    gap: 4px;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border-color: transparent;
  }

  nav a:hover {
    border-color: #c4b08e;
  }

  /* Hero Stack */
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .polaroid {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .page {
    padding-inline: 12px;
  }

  header {
    padding-inline: 14px;
  }
}
