:root {
  --plum: #32113e;
  --deep: #240c30;
  --berry: #592073;
  --gold: #d7a84d;
  --light-gold: #f1d993;
  --cream: #fbf7f0;
  --ink: #2d2030;
  --muted: #6e6170;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 400 1rem/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h3 {
  font-size: 1.45rem;
  line-height: 1.22;
}

p {
  max-width: 67ch;
}

.wrap {
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 1rem;
  color: #98651f;
  font-size: 1.28rem;
  font-weight: 750;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  background: var(--gold);
  color: #261129;
  font: inherit;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--light-gold);
  transform: translateY(-2px);
}

.btn.outline {
  border-color: var(--plum);
  background: transparent;
  color: var(--plum);
}

.btn.outline:hover {
  background: #f3e7d5;
}

.btn.dark-outline {
  background: transparent;
  color: var(--light-gold);
}

.btn.dark-outline:hover {
  background: #4b245b;
}

.section-cta {
  margin-top: 2.5rem;
}

/* Header und Titelbild */

.site-header {
  background: var(--deep);
  color: #fff;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
  font-size: 0.9rem;
}

.topbar nav a {
  color: #f7eef6;
  text-decoration: none;
}

.topbar nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 6px;
}

.topbar nav .nav-contact {
  color: var(--light-gold);
}

.hero-art {
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 650px;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 3rem;
  padding: 4.6rem 0 5.2rem;
  border-top: 1px solid #6f416f;
}

.hero-copy .eyebrow {
  color: var(--light-gold);
}

.hero-copy h1 {
  max-width: 800px;
  margin-bottom: 0;
}

.hero-copy h1 em {
  color: var(--light-gold);
  font-style: italic;
}

.hero-aside {
  padding-left: 2rem;
  border-left: 1px solid #9c748e;
}

.hero-aside p {
  margin-bottom: 1.5rem;
  color: #e6dbe7;
  font-size: 1.14rem;
}

/* Allgemeine Abschnitte */

.section {
  padding: 6rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.7rem;
}

.section-head h2 {
  max-width: 650px;
  margin: 0;
}

.section-head p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

/* Eismaschinen */

.machines {
  background: #fff;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.machine-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #eadfd2;
  background: #f9f6f1;
}

.machine-visual {
  display: grid;
  place-items: center;
  height: 330px;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 80%, #eadfcf, transparent 58%),
    #32113e;
}

.machine-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 17px 12px #35203725);
}

.machine-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.6rem 1.65rem 1.9rem;
}

.machine-body h3 {
  margin-bottom: 0.55rem;
}

.machine-body p {
  margin-bottom: 1.3rem;
  color: #645766;
  line-height: 1.5;
}

.specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  margin-bottom: 1.15rem;
}

.specs span {
  padding: 0.35rem 0.65rem;
  background: #eee5dc;
  color: #4b3452;
  font-size: 0.8rem;
  font-weight: 700;
}

.text-link {
  align-self: flex-start;
  border-bottom: 1px solid var(--gold);
  color: var(--berry);
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover {
  color: #9a6227;
}

/* Eisautomat */

.automate {
  overflow: hidden;
  background: var(--plum);
  color: #fff;
}

.automate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.automate h2 {
  color: #fff;
}

.automate p {
  color: #e8ddeb;
}

.automate .eyebrow,
.automate .text-link {
  color: var(--light-gold);
}

.automate-visual {
  display: grid;
  place-items: center;
  min-height: 520px;
  background: radial-gradient(
    circle at center,
    #743681 0,
    #4a1e5b 45%,
    transparent 72%
  );
}

.automate-visual img {
  width: 100%;
  height: min(600px, 60vw);
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(0 25px 24px #12061b85);
}

.feature-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.4rem;
}

.feature-list li::before {
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

/* Açaí-Produkte */

.products {
  background: #f7f0e7;
}

.products-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 3rem;
}

.products-art {
  display: grid;
  place-items: center;
  min-height: 570px;
  background: radial-gradient(
    circle,
    #eacade 0,
    #eee0e7 42%,
    transparent 72%
  );
}

.products-art img {
  width: min(100%, 530px);
  filter: drop-shadow(0 20px 15px #481b4a24);
}

.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.product-card {
  min-height: 210px;
  padding: 1.5rem;
  border-top: 4px solid var(--gold);
  background: #fff;
}

.product-card small {
  color: #966c32;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0.85rem 0;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

/* Über uns */

.about {
  background: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.about-text p {
  color: #5c4f5e;
  font-size: 1.09rem;
}

.about-panel {
  position: relative;
  padding: 3rem;
  background: var(--plum);
  color: #fff;
}

.about-panel::before {
  position: absolute;
  inset: 12px;
  border: 1px solid #a57b63;
  content: "";
  pointer-events: none;
}

.about-panel strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--light-gold);
  font: 400 clamp(3rem, 6vw, 5rem)/1 Georgia, serif;
}

.about-panel span {
  display: block;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.about-panel p {
  margin: 0;
  color: #e5dce4;
}

/* Kontaktformular */

.contact {
  background: #efe5ed;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
  gap: 4rem;
}

.contact-copy p {
  color: #615366;
}

.contact-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  box-shadow: 0 20px 55px #35123f14;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid #cdbfce;
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 125px;
  resize: vertical;
}

.consent {
  display: flex;
  align-items: start;
  gap: 0.7rem;
  margin: 0.3rem 0 1.5rem;
  color: #605364;
  font-size: 0.85rem;
  line-height: 1.5;
}

.consent input {
  margin-top: 0.25rem;
  accent-color: var(--berry);
}

.contact-card .btn {
  width: 100%;
}

.form-note {
  margin: 1rem 0 0;
  color: #6b5e6d;
  font-size: 0.82rem;
}

/* Footer */

.site-footer {
  padding: 4rem 0 2rem;
  background: var(--deep);
  color: #f4edf4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
}

.site-footer h2 {
  margin-bottom: 0.8rem;
  color: var(--light-gold);
  font-size: 2.1rem;
}

.site-footer h3 {
  color: var(--light-gold);
  font: 750 0.8rem/1.4 system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 0.7rem;
  color: #d7c8d7;
}

.site-footer a:hover {
  color: var(--light-gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid #6c4b6e;
  color: #c4b4c4;
  font-size: 0.85rem;
}

.footer-bottom a {
  margin-left: 1.25rem;
}

/* Tablets */

@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .topbar nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    white-space: nowrap;
  }

  .hero-copy,
  .automate-grid,
  .products-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    gap: 2rem;
    padding: 3.2rem 0;
  }

  .hero-aside {
    padding: 1.5rem 0 0;
    border-top: 1px solid #9c748e;
    border-left: 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 1.3rem;
  }

  .machine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .automate-visual {
    min-height: 430px;
  }

  .automate-visual img {
    height: 430px;
  }

  .products-art {
    order: 2;
    min-height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Smartphones */

@media (max-width: 640px) {
  .wrap {
    width: min(1200px, calc(100% - 2rem));
  }

  .topbar {
    min-height: auto;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .topbar nav {
    gap: 1.2rem;
    font-size: 0.82rem;
  }

  .hero-art {
    height: 330px;
    object-fit: cover;
    object-position: center;
  }

  .hero-copy {
    padding: 2.8rem 0 3.5rem;
  }

  .hero-aside p {
    font-size: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .machine-grid,
  .product-cards,
  .fields,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .machine-visual {
    height: 290px;
  }

  .products-art {
    min-height: 320px;
  }

  .about-panel {
    padding: 2.5rem;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom a {
    display: inline-block;
    margin: 1rem 1rem 0 0;
  }

  .section-cta .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}