:root {
  --bg-page: #f5f7fb;
  --bg-white: #ffffff;
  --bg-soft: #f3f6fa;

  --text-main: #1c2e45;
  --text-muted: #55647b;
  --text-white: #ffffff;

  --line: #dbe3ee;
  --line-soft: #e6edf5;

  --blue: #2264c7;
  --blue-dark: #184d9c;

  --grad-red: #de3a32;
  --grad-coral: #eb6a46;
  --grad-apricot: #f2ab6d;
  --grad-cream: #f5e6a6;

  --shadow-sm: 0 4px 14px rgba(13, 28, 55, 0.05);
  --shadow-md: 0 10px 28px rgba(13, 28, 55, 0.07);

  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --container: 1250px;
  --header-offset: 88px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #f2ab6d;
  outline-offset: 3px;
  border-radius: 12px;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  background: #1c2e45;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Anchor offset for sticky header */
main section[id],
main footer[id],
main div[id],
.anchor-target {
  scroll-margin-top: var(--header-offset);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 46, 69, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 160px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  border-radius: 999px;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
}

.btn-contact {
  justify-content: flex-start;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--grad-red) 0%,
    var(--grad-coral) 50%,
    var(--grad-apricot) 80%,
    var(--grad-cream) 100%
  );
  color: #1c2e45;
  box-shadow: 0 6px 16px rgba(201, 84, 48, 0.12);
}

.btn-primary:hover {
  filter: brightness(0.99) saturate(1.02);
  box-shadow: 0 8px 18px rgba(201, 84, 48, 0.14);
}

.btn-secondary {
  color: var(--text-main);
  border: 1px solid rgba(242, 171, 109, 0.62);
  background: linear-gradient(
    135deg,
    rgba(235, 106, 70, 0.06) 0%,
    rgba(242, 171, 109, 0.08) 55%,
    rgba(245, 230, 166, 0.16) 100%
  );
  box-shadow: none;
}

.btn-secondary:hover {
  background: linear-gradient(
    135deg,
    rgba(235, 106, 70, 0.08) 0%,
    rgba(242, 171, 109, 0.1) 55%,
    rgba(245, 230, 166, 0.2) 100%
  );
}

.btn-outline {
  border: 1px solid rgba(242, 171, 109, 0.62);
  background: #fff;
  color: var(--text-main);
  border-radius: 12px;
  min-height: 44px;
  padding: 0 15px;
  box-shadow: none;
}

/* Hero */

.hero {
  background: #fff;
  overflow: visible;
}

.hero-inner {
  padding-block: 40px 34px;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 34px;
  align-items: center;
}

.hero-content {
  max-width: 100%;
  color: var(--text-main);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 3vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.hero-lead {
  margin: 22px 0 4px;
  max-width: 58ch;
  font-size: clamp(1.05rem, 1.15vw, 1.22rem);
  line-height: 1.6;
}

.hero-lead-dark {
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-actions-vertical {
  flex-direction: column;
  align-items: flex-start;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-image-card {
  border-radius: 22px;
  overflow: hidden;
  background: #e9eef5;
  box-shadow: var(--shadow-sm);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: center;
}

/* Info strip */

.hero-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 0;
  border-radius: 16px;
}

.hero-note p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.45;
}

.hero-note-btn {
  flex-shrink: 0;
  font-weight: 600;
}

.info-strip {
  background: linear-gradient(
    135deg,
    rgba(235, 106, 70, 0.06) 20%,
    rgba(242, 171, 109, 0.08) 90%,
    rgba(245, 230, 166, 0.16) 100%
  );
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.info-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.info-strip p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Sections */

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--bg-page);
}

.section-white {
  background: #fff;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 34px;
}

.section-label {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-intro h2,
.about-content h2,
.site-end-intro h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.section-intro p,
.about-content p,
.site-end-intro p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 24px 22px;
}

.service-card h3,
.site-end-panel h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.1vw, 1.55rem);
  line-height: 1.16;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  margin: 10px 0 14px;
  font-size: 1rem;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.service-card li + li {
  margin-top: 6px;
}

.section-note {
  margin-top: 20px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 16px;
  text-align: center;
  color: var(--text-muted);
}

.section-note a {
  color: var(--text-main);
  font-weight: 700;
  text-decoration: underline;
}

.section-note a:hover {
  color: #c57734;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.about-image-wrap {
  display: flex;
  flex-direction: column;
}

.about-image-card {
  border-radius: 22px;
  overflow: hidden;
  background: #e7edf4;
  aspect-ratio: 9 / 6.5;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.about-location-card {
  margin-top: 14px;
}

.about-location-card strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 4px;
}

.about-location-card a {
  color: var(--text-muted);
  text-decoration: none;
}

.about-location-card a:hover {
  color: var(--text-main);
  text-decoration: underline;
}

/* Contact + Footer */

.site-end {
  padding: 84px 0 75px;
  border-top: 1px solid var(--line);
}

.site-end-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.site-end-intro {
  max-width: 640px;
  margin-bottom: 30px;
}

.site-end-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.site-end-panel {
  text-align: left;
}

.site-end-panel h3 {
  margin: 0 0 18px;
  font-size: clamp(1.25rem, 1.1vw, 1.5rem);
  line-height: 1.15;
  font-weight: 600;
}

.contact-list,
.hours-stack {
  display: grid;
  gap: 14px;
}

.contact-list {
  margin: 0;
  font-style: normal;
}

.contact-item,
.hours-item {
  display: block;
  padding: 0 0 14px;
}

.contact-item:last-child,
.hours-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-label,
.hours-label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.3;
}

.contact-value,
.hours-value {
  display: block;
  color: var(--text-main);
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 600;
  text-decoration: none;
}

.contact-value.address {
  line-height: 1.6;
}

.contact-value:hover {
  text-decoration: underline;
}

.contact-note {
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.site-footer-compact {
  padding: 18px 0 0;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand strong {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.2;
}

.footer-brand span {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 16px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.4;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-meta {
  padding-top: 12px;
  padding-bottom: 8px;
  border-top: 1px solid var(--line-soft);
}

.footer-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
}

#links {
  background: #fff;
  padding-top: 30px;
}

.site-footer-compact-end {
  padding: 18px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 28px;
}

/* Responsive */

@media (max-width: 1080px) {
  .hero-split,
  .services-grid,
  .about-grid,
  .site-end-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-card img,
  .about-image-card img {
    min-height: 420px;
  }

  .site-end-grid {
    gap: 30px;
  }
  .about-image-card img {
    object-position: center 40%;
  }
}

@media (max-width: 760px) {
  :root {
    --header-offset: 40px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 138px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .site-nav .btn-contact {
    justify-content: flex-start;
  }

  .hero-inner {
    padding-block: 34px 24px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section-intro h2,
  .about-content h2,
  .site-end-intro h2 {
    font-size: clamp(1.7rem, 6.5vw, 2.2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-note-btn {
    width: 100%;
  }

  .hero-note {
    flex-direction: column;
    align-items: stretch;
  }

  .info-strip-inner {
    flex-direction: column;
    align-items: center;
  }

  .section {
    padding: 64px 0;
  }

  .services-grid,
  .site-end-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 24px;
  }

  .service-card {
    padding: 20px;
  }

  .hero-image-card img {
    min-height: 320px;
  }

  .about-image-card img {
    min-height: 340px;
  }

  .site-end {
    padding: 64px 0 24px;
  }

  #links {
    padding: 10px 0 24px;
  }

  .site-end-inner {
    gap: 28px;
  }

  .site-end-intro {
    margin-bottom: 22px;
  }

  .site-footer-compact {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer-compact-end {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 8px 14px;
  }
}

@media (max-width: 415px) {
  .about-image-card img {
    object-position: center 100%;
  }
}

/* Impressum */

.legal-hero {
  padding-bottom: 28px;
}

.legal-intro h1 {
  margin: 0;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.legal-intro p {
  color: var(--text-muted);
  font-size: 1.04rem;
  margin-top: 14px;
}

.legal-section {
  padding-top: 48px;
}

.legal-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-grid-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 1.1vw, 1.55rem);
  line-height: 1.16;
  font-weight: 600;
}

.legal-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  color: var(--text-main);
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

.legal-card strong {
  color: var(--text-main);
}

.legal-card-wide {
  width: 100%;
}

@media (max-width: 760px) {
  .legal-grid-top {
    grid-template-columns: 1fr;
  }

  .legal-intro h1 {
    font-size: clamp(1.85rem, 7vw, 2.4rem);
  }

  .legal-card {
    padding: 20px;
  }
}
