/* ===========================
   Sieß – Simple One-Page Site
   Farben & Typo angelehnt an Corporate Design (Elektrotechnik Sieß)
   =========================== */

@charset "UTF-8";

:root {
  --c-accent: #933737;
  --c-alt: #F2F2F2;
  --c-bg: #ffffff;
  --c-black: #000000;
  --c-gray: #726D6D;
  --c-hl: #FFE6D9;
  --container: 1100px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--c-bg);
  color: #1a1a1a;
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.55;
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.15;
  margin: 0 0 .6rem 0;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a.link {
  color: var(--c-accent);
  font-weight: 600;
}

a.link:hover {
  text-decoration: underline;
}

.container {
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 18px;
}

.muted {
  color: rgba(0, 0, 0, .62);
}

.small {
  font-size: .92rem;
}

.skip {
  background: var(--c-black);
  border-radius: 10px;
  color: white;
  left: -999px;
  padding: 10px 12px;
  position: absolute;
  top: 10px;
  z-index: 99;
}

.skip:focus {
  left: 10px;
}

/* Header */
.header {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header__inner {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 240px;
}

.brand__logo {
  height: clamp(36px, 4.2vw, 52px);
  width: auto;
  max-width: min(280px, 65vw);
  object-fit: contain;
  display: block;
}

.brand__text {
  display: grid;
  font-size: .95rem;
  gap: 2px;
}

.brand__text strong {
  font-size: 1.05rem;
  font-weight: 700;
}

.brand__text span {
  color: rgba(0, 0, 0, .62);
}

.nav {
  align-items: center;
  display: flex;
  gap: 18px;
}

.nav a {
  border-radius: 12px;
  color: rgba(0, 0, 0, .78);
  font-weight: 600;
  padding: 10px 12px;
}

.nav a:hover {
  background: rgba(0, 0, 0, .05);
}

.nav__toggle {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 14px;
  display: none;
  padding: 10px 12px;
}

.burger {
  background: rgba(0, 0, 0, .8);
  display: block;
  height: 2px;
  position: relative;
  width: 22px;
}

.burger::before,
.burger::after {
  background: rgba(0, 0, 0, .8);
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 22px;
}

.burger::before {
  top: -7px;
}

.burger::after {
  top: 7px;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

/* Hero */
.hero {
  overflow: hidden;
  padding: 64px 0 34px;
  position: relative;
}

.hero__inner {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: 1.1fr .9fr;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 10px;
}

.trust {
  color: rgba(0, 0, 0, .66);
  display: flex;
  flex-wrap: wrap;
  font-weight: 600;
  gap: 12px 18px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.hero__panel {
  display: grid;
  justify-items: end;
}

.panel__card {
  background: white;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  position: relative;
  width: min(420px, 100%);
}

.panel__line {
  background: linear-gradient(90deg, var(--c-accent), rgba(0, 0, 0, .18));
  border-radius: 999px;
  height: 8px;
  margin-bottom: 14px;
}

.panel__title {
  font-weight: 700;
  margin: 0 0 6px 0;
}

.panel__text {
  color: rgba(0, 0, 0, .68);
  margin: 0 0 12px 0;
}

.panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel__chips span {
  background: rgba(0, 0, 0, .05);
  border-radius: 999px;
  font-weight: 600;
  padding: 8px 10px;
}

.hero__bg {
  background: radial-gradient(circle at 12% 20%, rgba(147, 55, 55, .20) 0 120px, transparent 121px),
    radial-gradient(circle at 72% 30%, rgba(0, 0, 0, .08) 0 110px, transparent 111px),
    radial-gradient(circle at 40% 70%, rgba(147, 55, 55, .14) 0 140px, transparent 141px);
  height: 520px;
  inset: -200px -120px auto -120px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section--alt {
  background: var(--c-alt);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: white;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card__head {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.card__logo {
  height: auto;
  width: 46px;
}

.list {
  color: rgba(0, 0, 0, .74);
  margin: 0 0 12px 0;
  padding-left: 18px;
}

.list li {
  margin: 6px 0;
}

.split {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 1.1fr .9fr;
}

.media {
  background: white;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
}

.media img {
  display: block;
  height: auto;
  width: min(340px, 100%);
}

.media__caption {
  margin: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.pill {
  background: rgba(0, 0, 0, .06);
  border-radius: 999px;
  color: rgba(0, 0, 0, .72);
  font-weight: 700;
  padding: 9px 12px;
}

.pill--accent {
  background: rgba(147, 55, 55, .12);
  color: var(--c-accent);
}

.callout {
  background: var(--c-hl);
  border: 1px solid rgba(147, 55, 55, .25);
  border-radius: var(--radius);
  padding: 14px;
}

.callout--accent {
  background: rgba(147, 55, 55, .08);
  border: 1px solid rgba(147, 55, 55, .22);
}

/* Buttons */
.btn {
  align-items: center;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 14px;
  display: inline-flex;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  padding: 11px 14px;
}

.btn--primary {
  background: var(--c-accent);
  border-color: rgba(147, 55, 55, .5);
  color: white;
}

.btn--primary:hover {
  filter: brightness(.96);
}

.btn--ghost {
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(0, 0, 0, .05);
}

/* Form */
.form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

label {
  display: grid;
  font-weight: 700;
  gap: 6px;
}

input,
textarea {
  background: white;
  border: 1px solid rgba(0, 0, 0, .14);
  border-radius: 14px;
  font: inherit;
  outline: none;
  padding: 12px 12px;
}

input:focus,
textarea:focus {
  border-color: rgba(147, 55, 55, .55);
  box-shadow: 0 0 0 4px rgba(147, 55, 55, .12);
}

.form__row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(0, 0, 0, .06);
  padding: 18px 0;
}

.footer__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.footer-card {
  align-items: center;
  background: white;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 18px;
  padding: 16px;
}

@media (max-width: 900px) {

  .hero__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__panel {
    justify-items: start;
  }

}

@media (max-width: 760px) {

  .header__inner{
    padding-left: 10px;
    padding-right: 10px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav {
    align-items: stretch;
    background: white;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 6px;
    left: 18px;
    padding: 10px;
    position: absolute;
    right: 18px;
    top: 64px;
  }

  .nav a {
    padding: 12px;
  }

  .nav[data-open="true"] {
    display: flex;
  }

  .grid--2 {
    grid-template-columns: 1fr;
  }

}

/* Slider */
.slider {
  width: 100%;
}

.slider__viewport {
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
}

.slider__track {
  display: flex;
  height: 100%;
  transition: transform 360ms ease;
  will-change: transform;
}

.slider__slide {
  align-items: center;
  display: flex;
  flex: 0 0 100%;
  height: 100%;
  min-width: 100%;
  padding: 10px;
}

.slider__slide img {
  border-radius: 8px;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Ensure elements using the `hidden` attribute are actually hidden
   (some author styles may otherwise override the UA stylesheet) */
[hidden] {
  display: none !important;
}

/* Keep logos uncropped: use contain for images that include "Logo" in the alt text */
.slider__slide img[alt*="Logo"] {
  background: transparent;
  object-fit: contain;
}

/* Controls */
.slider__controls {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.slider__btn {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 999px;
  cursor: pointer;
  padding: 8px 12px;
}

.slider__dots {
  display: flex;
  flex: 1;
  gap: 8px;
  justify-content: center;
}

.slider__dot {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  cursor: pointer;
  height: 10px;
  width: 10px;
}

.slider__dot.is-active {
  background: rgba(0, 0, 0, 0.6);
}

/* Accordion (Datenschutz) */
.accordion {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.acc {
  background: white;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 0;
}

.acc summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  gap: 10px;
  justify-content: space-between;
  list-style: none;
  padding: 16px 16px;
}

.acc summary::-webkit-details-marker {
  display: none;
}

.acc summary::after {
  font-family: system-ui, Arial, sans-serif;
  content: "\FF0B";
  /* Fullwidth Plus */
  font-weight: 900;
  color: rgba(0, 0, 0, .55);
}

.acc[open] summary::after {
  content: "\FF0D";
  /* Fullwidth Minus */
}

.acc__body {
  padding: 0 16px 16px 16px;
}

.footer__link {
  color: rgba(0, 0, 0, .62);
  font-weight: 700;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0;
  color: inherit;
  display: inline;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
}

.footer__btn:hover,
.footer__btn:focus {
  text-decoration: underline;
}

.footer__btn:focus-visible {
  outline: 3px solid rgba(147, 55, 55, 0.18);
  outline-offset: 2px;
}

/* Cookie Banner */
.cookie {
  bottom: 0;
  left: 0;
  padding: 14px;
  position: fixed;
  right: 0;
  z-index: 9999;
}

.cookie__box {
  align-items: center;
  background: var(--c-bg, #fff);
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1100px;
  padding: 14px 16px;
}

.cookie__text {
  color: var(--c-black, #111);
  flex: 1 1 420px;
  font-size: 0.95rem;
}

.cookie__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie .btn {
  border-radius: 14px;
}

.btn--sm {
  border-radius: 12px;
  font-size: 0.95rem;
  padding: 10px 14px;
}

.reviews-placeholder {
  align-items: center;
  background: var(--c-bg, #fff);
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 16px;
}

.reviews-widget {
  margin-top: 12px;
}