/* ==========================================================================
   APE (ritif) BAR – Secco & more
   Farben und Typografie nach Flyer 1 + 2
   ========================================================================== */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Sacramento";
  src: url("../fonts/sacramento-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --taupe: #9c8f8c;
  --taupe-dark: #7d706d;
  --greige: #e6e1dd;
  --blush: #e3d9d5;
  --white: #ffffff;
  --ink: #2b2523;
  --ink-soft: #5b514e;
  --line: #cfc6c2;

  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Sacramento", "Brush Script MT", cursive;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--greige);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Typo-Bausteine ---------- */

.caps {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 400;
}

.script {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

.section-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
}

.section-script {
  font-family: var(--script);
  font-size: clamp(2.6rem, 7vw, 3.8rem);
  color: var(--taupe);
  text-align: center;
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

/* Trennlinie mit Herz – wie auf der Kontaktkarte */
.heart-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 340px;
  margin: 1.25rem auto;
  color: var(--ink);
}

.heart-rule::before,
.heart-rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.heart-rule svg {
  width: 12px;
  height: 12px;
  flex: none;
}

.occasions-line {
  font-size: clamp(0.72rem, 2.4vw, 0.9rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align: center;
  margin: 0;
}

.occasions-line span {
  padding: 0 0.5em;
}

@media (max-width: 480px) {
  .occasions-line {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .occasions-line span {
    padding: 0 0.3em;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--light {
  color: var(--white);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: var(--taupe-dark);
  border-color: var(--taupe-dark);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.form-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex: 1 1 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.form-actions svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

:focus-visible {
  outline: 2px solid var(--taupe-dark);
  outline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(227, 217, 213, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(43, 37, 35, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 48px;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-name small {
  font-size: 0.75em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  display: none;
  background: var(--blush);
  border-bottom: 1px solid rgba(43, 37, 35, 0.08);
}

.nav-open .site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem var(--gutter) 1.25rem;
}

.site-nav a {
  display: block;
  padding: 0.8rem 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  border-bottom: 1px solid rgba(43, 37, 35, 0.08);
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    background: none;
    border: 0;
  }

  .site-nav ul {
    display: flex;
    gap: 2rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.3rem 0;
    font-size: 0.8rem;
    border: 0;
    border-bottom: 1px solid transparent;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    border-bottom-color: currentColor;
  }
}

/* ---------- Hero (Flyer 1) ---------- */

.hero {
  background: var(--taupe);
  color: var(--white);
}

/* Mobil: Logo – Foto – Text, wie auf dem Flyer */
.hero-grid {
  display: flex;
  flex-direction: column;
}

.hero-side {
  display: contents;
}

.hero-top {
  order: 1;
  display: flex;
  justify-content: center;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.hero-photo {
  order: 2;
}

.hero-text {
  order: 3;
}

.logo-tile {
  position: relative;
  z-index: 2;
  width: min(78%, 400px);
  margin-bottom: -2.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--blush);
}

.logo-tile img {
  width: 100%;
  max-width: 210px;
  margin: 0 auto;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  object-position: center 40%;
}

.hero-text {
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.hero-text h1 {
  font-size: clamp(1.4rem, 4.4vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero-text .script {
  font-size: clamp(2.3rem, 8vw, 4.4rem);
  margin: 1.5rem 0 1.25rem;
}

.hero-text hr {
  width: min(100%, 640px);
  margin: 0 auto 1.25rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-text .btn {
  margin-top: 2.25rem;
}

@media (min-width: 960px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
  }

  .hero-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
  }

  .hero-top {
    padding-top: 0;
  }

  .logo-tile {
    width: min(70%, 340px);
    margin-bottom: 0;
  }

  .hero-text {
    padding: 2.5rem 0 0;
  }

  .hero-text h1 {
    font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  }

  .hero-text .script {
    font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  }

  .hero-text .occasions-line {
    font-size: clamp(0.65rem, 0.9vw, 0.82rem);
  }

  .hero-photo img {
    height: 100%;
    max-height: none;
    min-height: 620px;
  }
}

/* ---------- Konzept (Flyer 2) ---------- */

.section {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0;
}

.concept {
  background: var(--greige);
  text-align: center;
}

.concept p {
  max-width: 680px;
  margin: 0 auto 1.25rem;
  color: var(--ink);
}

.concept .lead-drinks {
  font-weight: 500;
  margin-top: 2rem;
}

.photo-pair {
  display: grid;
  gap: 8px;
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.photo-pair img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 640px) {
  .photo-pair {
    grid-template-columns: 1.25fr 1fr;
  }
}

/* ---------- Highlight: Secco aus dem Zapfhahn ---------- */

.highlight {
  background: var(--white);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.highlight-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.highlight h2 {
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.highlight p {
  margin: 0;
  font-size: 1.1rem;
}

.glasses {
  width: 150px;
  color: var(--taupe);
  justify-self: center;
}

@media (min-width: 720px) {
  .highlight-inner {
    grid-template-columns: 1fr auto;
    gap: 3rem;
  }
}

/* ---------- Getränke ---------- */

.drinks {
  background: var(--blush);
}

.drinks .intro {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink-soft);
}

.drink-group-title {
  margin: clamp(2.5rem, 6vw, 3.5rem) 0 1.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--taupe-dark);
}

.drink-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.drink {
  flex: 1 1 260px;
  max-width: 340px;
  background: var(--white);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
}

.drink h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.drink .script {
  display: block;
  color: var(--taupe);
  font-size: 1.9rem;
  margin: 0.35rem 0 0.6rem;
}

.drink p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.drink--feature {
  background: var(--ink);
  color: var(--white);
}

.drink--feature p {
  color: rgba(255, 255, 255, 0.78);
}

.drink--feature .script {
  color: var(--blush);
}

.badge {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid currentColor;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--taupe-dark);
}

.drinks .note {
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  max-width: 620px;
  text-align: center;
}

.drinks .note strong {
  font-weight: 500;
}

/* ---------- Anlässe ---------- */

.occasions {
  background: var(--taupe);
  color: var(--white);
}

.occasion-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.occasion {
  text-align: center;
}

.occasion svg {
  width: 54px;
  height: 54px;
  margin: 0 auto 1rem;
  color: var(--white);
}

.occasion h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}

.occasion p {
  margin: 0 auto;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 760px) {
  .occasion-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.contact {
  background: var(--greige);
}

.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.contact-info h2 {
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.contact-info h2 strong {
  display: block;
  margin-top: 0.4rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact-sub {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
}

.contact-card {
  margin-top: 2rem;
}

.contact-card .name {
  font-weight: 600;
  margin: 0;
}

.contact-card p {
  margin: 0 0 1rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.35rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  border-bottom-color: currentColor;
}

.contact-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--taupe-dark);
}

.form {
  background: var(--white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }

  .form-row--3 {
    grid-template-columns: 1.2fr 1fr 0.8fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label,
.check label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf9;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--taupe-dark);
  box-shadow: 0 0 0 3px rgba(156, 143, 140, 0.25);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #a8433a;
}

.field-error {
  min-height: 0;
  font-size: 0.82rem;
  color: #a8433a;
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0.5rem 0 1.5rem;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--ink);
}

.check label {
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.check .field-error {
  grid-column: 2;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-status {
  margin: 1.25rem 0 0;
  padding: 0;
  font-size: 0.95rem;
}

.form-status:empty {
  display: none;
}

.form-status.is-success,
.form-status.is-error {
  padding: 0.9rem 1rem;
  border-left: 3px solid;
}

.form-status.is-success {
  background: #eef2ec;
  border-color: #5e7a55;
}

.form-status.is-error {
  background: #f6ecea;
  border-color: #a8433a;
}

.required-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--taupe);
  color: var(--white);
  padding: clamp(3rem, 7vw, 4.5rem) 0 2rem;
  text-align: center;
}

.site-footer .footer-logo {
  width: 80px;
  margin: 0 auto;
  filter: invert(1);
}

.site-footer .brand-title {
  margin: 1rem 0 0;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
}

.site-footer .script {
  font-size: 2rem;
  margin: 0.25rem 0 0;
}

.site-footer .heart-rule {
  color: var(--white);
}

.footer-contact {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.footer-contact a {
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  text-decoration: underline;
}

.footer-legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.footer-legal a {
  margin: 0 0.6rem;
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: underline;
}

/* ---------- Rechtstexte (Impressum / Datenschutz) ---------- */

.legal {
  background: var(--white);
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.legal .wrap {
  max-width: 780px;
}

.legal h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 2.25rem 0 0.75rem;
}

.legal h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 1.5rem 0 0.5rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal .placeholder {
  background: #fff2c6;
  color: var(--ink);
  padding: 0 0.25em;
}

.back-link {
  display: inline-block;
  margin-top: 2.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
