    :root {
      --color-bg: #f5f0e8;
      --color-bg-elevated: #fffaf2;
      --color-primary: #27452c;
      --color-primary-soft: #3c6b4a;
      --color-accent: #c8a96a;
      --color-accent-soft: #e3d2a4;
      --color-text: #243124;
      --color-muted: #6b7766;
      --color-border: #d9cdb4;

      --radius-lg: 18px;
      --radius-md: 12px;
      --radius-pill: 999px;

      --shadow-soft: 0 14px 30px rgba(0, 0, 0, 0.08);
      --shadow-subtle: 0 6px 14px rgba(0, 0, 0, 0.04);

      --nav-height: 80px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Urbanist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top left, #fdf7ee 0, var(--color-bg) 48%, #efe5d4 100%);
      color: var(--color-text);
      line-height: 1.6;
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      scroll-padding-top: calc(var(--nav-height) + 24px);
      overflow-x: hidden;
    }

    body.nav-open {
      overflow: hidden;
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    .container {
      width: min(1120px, 100% - 2.5rem);
      margin-inline: auto;
    }

    
    
    
    
    /* NAVBAR */

    .site-header {
      position: fixed;
      inset-inline: 0;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(14px);
      background: linear-gradient(
        to bottom,
        rgba(245, 240, 232, 0.92),
        rgba(245, 240, 232, 0.86)
      );
      border-bottom: 1px solid rgba(217, 205, 180, 0.7);
      transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
    }

    .site-header.scrolled {
      box-shadow: var(--shadow-soft);
      transform: translateY(-2px);
      background: rgba(245, 240, 232, 0.96);
    }

    .nav-inner {
      height: var(--nav-height);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .logo-wrap {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .logo-box {
      width: 150px;
      height: 52px;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 20px;
    }

    .logo-box img {
      width: 250%;
      height: 250%;
      object-fit: contain;
      border: none; 
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 0.1rem;
    }

    .brand-text span:first-child {
      font-weight: 700;
      letter-spacing: 0.08em;
      font-size: 0.78rem;
      text-transform: uppercase;
      color: var(--color-primary);
    }

    .brand-text span:last-child {
      font-size: 0.72rem;
      color: var(--color-muted);
    }

    nav {
      position: relative;
      z-index: 60;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.8rem;
      font-size: 0.96rem;
    }

    .nav-links a {
      position: relative;
      font-weight: 500;
      color: var(--color-muted);
      padding-block: 0.2rem;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      inset-inline: 0;
      bottom: -0.3rem;
      height: 2px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--color-accent), var(--color-primary-soft));
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.25s ease;
    }

    .nav-links a:hover,
    .nav-links a:focus-visible {
      color: var(--color-primary);
    }

    .nav-links a:hover::after,
    .nav-links a:focus-visible::after {
      transform: scaleX(1);
    }

    .nav-cta {
      padding: 0.55rem 1.2rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(39, 69, 44, 0.22);
      background: radial-gradient(circle at top left, #ffffff 0, #f4ede0 100%);
      color: var(--color-primary);
      font-size: 0.88rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      box-shadow: 0 12px 25px rgba(39, 69, 44, 0.12);
      transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s ease, border-color 0.2s ease;
      white-space: nowrap;
    }

    .nav-cta span.icon {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      background: var(--color-primary-soft);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fdfaf3;
      font-size: 0.75rem;
    }

    .nav-cta:hover {
      transform: translateY(-1px);
      box-shadow: 0 16px 28px rgba(39, 69, 44, 0.2);
      background: radial-gradient(circle at top left, #ffffff 0, #f1e6d5 100%);
    }

    .nav-toggle {
      display: none;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid rgba(39, 69, 44, 0.22);
      background: rgba(245, 240, 232, 0.9);
      align-items: center;
      justify-content: center;
      cursor: pointer;
      position: relative;
      z-index: 80;
    }

    .nav-toggle span,
    .nav-toggle span::before,
    .nav-toggle span::after {
      display: block;
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: var(--color-primary);
      position: relative;
      transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
    }

    .nav-toggle span::before,
    .nav-toggle span::after {
      content: "";
      position: absolute;
      left: 0;
    }

    .nav-toggle span::before {
      top: -5px;
    }

    .nav-toggle span::after {
      bottom: -5px;
    }

    .nav-toggle.active span {
      transform: rotate(45deg);
    }

    .nav-toggle.active span::before {
      top: 0;
      transform: rotate(90deg);
    }

    .nav-toggle.active span::after {
      bottom: 0;
      opacity: 0;
    }

    
    

    /* INTRO SCREEN – Einstiegsanimation */

    .intro-screen {
      position: fixed;
      inset: 0;
      z-index: 9999;
      background: var(--color-bg);
      display: flex;
      align-items: center;
      justify-content: center;
      pointer-events: auto;
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.7s ease, transform 0.8s ease;
    }

    .intro-screen.intro-fade-out {
      opacity: 0;
      transform: translateY(-4%);
      pointer-events: none;
    }

    .intro-inner {
      text-align: center;
      color: var(--color-primary);
      animation: intro-pop 1.6s ease-out forwards;
    }

    .intro-logo-circle {
      width: 200px;
      height: 200px;
      border-radius: 999px;
      margin: 0 auto 1rem auto;
      background: radial-gradient(circle at top left, #ffffff 0, #f2e6d3 50%, #c8a96a 100%);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    .intro-logo-circle img{
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .intro-tagline {
      font-size: 1.5rem;
      color: var(--color-muted);
      max-width: 320px;
      margin: 0 auto;
    }

    @keyframes intro-pop {
      0% {
        opacity: 0;
        transform: translateY(12px) scale(0.9);
      }
      50% {
        opacity: 1;
        transform: translateY(0) scale(1.02);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .intro-screen::before {
      content: "";
      position: absolute;
      inset: -40%;
      background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.3), transparent 55%);
      opacity: 0;
      transform: translate3d(-10%, 0, 0);
      animation: intro-sweep 2.2s ease-out 0.1s forwards;
      pointer-events: none;
    }

    @keyframes intro-sweep {
      0% {
        opacity: 0;
        transform: translate3d(-18%, 0, 0);
      }
      40% {
        opacity: 1;
      }
      100% {
        opacity: 0;
        transform: translate3d(14%, 0, 0);
      }
    }

    @media (max-width: 520px) {
      .intro-logo-circle {
        width: 110px;
        height: 110px;
      }
    }






    
    /* MAIN LAYOUT */

    main {
      padding-top: calc(var(--nav-height) + 32px);
      padding-bottom: 4rem;
    }

    section {
      padding-block: 3.5rem;
    }

    .section-heading {
      font-size: 2rem;
      margin-bottom: 0.75rem;
      letter-spacing: 0.02em;
      color: var(--color-primary);
    }

    .section-kicker {
      font-size: 0.82rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-weight: 600;
      color: var(--color-muted);
      margin-bottom: 0.85rem;
    }

    .section-intro {
      max-width: 630px;
      color: var(--color-muted);
      margin-bottom: 2rem;
      font-size: 0.98rem;
    }

    
    
    
    /* HERO */

    .hero {
      padding-top: 4rem;
    }

    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
      gap: 3rem;
      align-items: center;
    }

    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      padding: 0.35rem 0.75rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(39, 69, 44, 0.16);
      background: rgba(255, 253, 247, 0.9);
      color: var(--color-primary-soft);
      font-size: 0.78rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .hero-kicker-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--color-accent);
      box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.3);
    }

    .hero-title {
      font-size: clamp(2.3rem, 4vw, 2.9rem);
      line-height: 1.1;
      color: var(--color-primary);
      margin-bottom: 0.9rem;
      letter-spacing: 0.01em;
    }

    .hero-subtitle {
      font-size: 1.02rem;
      color: var(--color-muted);
      max-width: 580px;
      margin-bottom: 1.7rem;
    }

    .hero-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 2rem;
    }

    .chip {
      font-size: 0.78rem;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      padding: 0.45rem 0.9rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(39, 69, 44, 0.18);
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(226, 215, 187, 0.86));
      color: var(--color-primary);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .chip-badge {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: var(--color-primary-soft);
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.9rem;
      align-items: center;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      padding: 0.85rem 1.4rem;
      border-radius: var(--radius-pill);
      border: 1px solid transparent;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.2s ease, border-color 0.2s ease;
      text-align: center;
    }

    .btn-primary {
      background: radial-gradient(circle at top left, #0f1d12 0, #28482f 100%);
      border-color: rgba(21, 39, 26, 0.7);
      color: #fdf9f0;
      box-shadow: 0 18px 36px rgba(22, 39, 26, 0.3);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 22px 40px rgba(22, 39, 26, 0.38);
      background: radial-gradient(circle at top left, #fdfcf9 0, #213924 100%);
    }

    .hero-note {
      font-size: 0.78rem;
      color: var(--color-muted);
    }

    .hero-note strong {
      font-weight: 600;
      color: var(--color-primary-soft);
    }

    .hero-image {
      border-radius: 24px;          
      background: #d9c9a9;
      max-width: 500px;
      height: 380px;
      width: 100%;
      height: 100%;
      object-fit: cover;             
      display: block;
      box-shadow: var(--shadow-soft); 
    }
    
    .hero-media {
      position: relative;
      align-self: stretch;
      display: flex;
      align-items: center;
      justify-content: center;
    }


    
    
    
    
    /* SCHWERPUNKTE*/

    .values-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 1.4rem;
    }

    .value-card {
      background: rgba(255, 252, 246, 0.85);
      border-radius: var(--radius-lg);
      padding: 1.1rem 1.1rem 1.15rem;
      border: 1px solid rgba(214, 201, 177, 0.9);
      box-shadow: var(--shadow-subtle);
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      height: 100%;
    }

    .value-icon {
      width: 34px;
      height: 34px;
      border-radius: 999px;
      background: radial-gradient(circle at top left, #fdf9f0 0, #27452c 100%);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #fdf9f0;
      font-size: 0.9rem;
      font-weight: 700;
      margin-bottom: 0.25rem;
    }

    .value-title {
      font-weight: 600;
      color: var(--color-primary);
      font-size: 0.98rem;
    }

    .value-text {
      font-size: 0.9rem;
      color: var(--color-muted);
    }

    .value-tag {
      margin-top: 0.35rem;
      font-size: 0.76rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--color-primary-soft);
      font-weight: 600;
    }

    
    
    
    
    
    /* Motivation */
    .profile-card2 {
      background: rgba(255, 253, 247, 0.9);
      box-shadow: var(--shadow-soft);
      max-width: 500px;
      width: 100%;
      margin-left: 50px;
    }

    .profile-card2 img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
    }






    /* MEISTERBETRIEB SECTION */

    .meisterbetrieb-section {
      padding-top: 1.5rem; 
      padding-bottom: 3.5rem;
    }

    .meisterbetrieb-grid {
      margin-top: 1.8rem;
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 2rem;
      align-items: stretch;
    }

    .meisterbetrieb-highlight,
    .meisterbetrieb-video {
      background: var(--color-bg-elevated);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(210, 196, 172, 0.9);
      padding: 1.6rem 1.7rem;
      box-shadow: var(--shadow-soft);
      display: flex;
      flex-direction: column;
    }

    .meisterbadge {
      background: radial-gradient(circle at top left, #ffffff 0, #f4ede0 70%);
      border-radius: 16px;
      border: 1px solid rgba(201, 182, 150, 0.9);
      padding: 1.2rem 1.3rem;
      margin-bottom: 1.2rem;
      position: relative;
      overflow: hidden;
    }

    .meisterbadge::after {
      content: "";
      position: absolute;
      inset: -40%;
      background: radial-gradient(circle at top right, rgba(200, 169, 106, 0.12), transparent 55%);
      opacity: 0.9;
      pointer-events: none;
    }

    .meisterbadge-pill {
      display: inline-flex;
      gap: 0.4rem;
      padding: 0.3rem 0.8rem;
      border-radius: 999px;
      background: rgba(39, 69, 44, 0.08);
      color: var(--color-primary-soft);
      font-size: 0.78rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      position: relative;
      z-index: 1;
    }

    .meisterbadge h3 {
      margin-top: 0.7rem;
      font-size: 1.3rem;
      color: var(--color-primary);
      position: relative;
      z-index: 1;
    }

    .meisterbadge p {
      margin-top: 0.4rem;
      font-size: 0.94rem;
      color: var(--color-muted);
      position: relative;
      z-index: 1;
    }

    .meister-coop-card {
      margin-top: 0.6rem;
      background: rgba(255, 253, 248, 0.96);
      border-radius: 16px;
      border: 1px solid rgba(192, 176, 151, 0.9);
      padding: 1.1rem 1.2rem 1.15rem;
    }

    .coop-header {
      margin-bottom: 0.4rem;
    }

    .coop-kicker {
      display: inline-block;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      font-weight: 600;
      color: var(--color-muted);
      margin-bottom: 0.15rem;
    }

    .coop-header h4 {
      font-size: 1.02rem;
      color: var(--color-primary);
    }

    .coop-text {
      margin-top: 0.45rem;
      font-size: 0.92rem;
      color: var(--color-muted);
    }

    .coop-logo-wrap {
      margin-top: 0.8rem;
      width: 100%;
      height: 90px;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(192, 176, 151, 0.9);
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .coop-logo-wrap img.coop-logo {
      max-width: 100%;
      max-height: 100%;
      object-fit: cover;
      display: block;
    }

    .meisterbetrieb-video {
      justify-content: space-between;
    }

    .video-frame {
      position: relative;
      height: 270px;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(191, 174, 146, 0.9);
      background: #d7c6a6;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .video-frame::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        rgba(0,0,0,0.25),
        rgba(0,0,0,0.35)
      );
      z-index: 1;
      transition: opacity 0.3s ease;
    }

    .video-thumbnail {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.4s ease;
      z-index: 0;
    }

    .video-play-btn {
      position: relative;
      z-index: 2;
      width: 90px;
      height: 90px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      background: radial-gradient(circle at top left, #ffffff 0, #e3d2a4 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 12px 30px rgba(0,0,0,0.35);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .video-play-btn:hover {
      transform: scale(1.08);
      box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    }

    .play-icon {
      width: 0;
      height: 0;
      border-left: 22px solid var(--color-primary);
      border-top: 14px solid transparent;
      border-bottom: 14px solid transparent;
      margin-left: 6px;
    }

    .video-play-btn::before {
      content: "";
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: rgba(255,255,255,0.4);
      animation: pulse 2s infinite;
      z-index: -1;
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
        opacity: 0.7;
      }
      70% {
        transform: scale(1.4);
        opacity: 0;
      }
      100% {
        transform: scale(1);
        opacity: 0;
      }
    }

    .meister-video-element {
      display: none;
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: relative;
      z-index: 3;
    }

    .video-frame.video-active::after {
      opacity: 0;
    }

    @media (max-width: 768px) {
      .fixed-video-image {
        width: 100%;
        max-width: 400px;
        height: 150px;
      }
    }

    
    
    
    
    
    /* ÜBER UNS */

    .about-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
      gap: 2.4rem;
      align-items: center;
    }

    .about-text p {
      margin-bottom: 0.9rem;
      color: var(--color-muted);
      font-size: 0.96rem;
    }

    .about-highlights {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem;
      margin-top: 0.5rem;
    }

    .about-highlight {
      font-size: 0.78rem;
      padding: 0.4rem 0.9rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(39, 69, 44, 0.18);
      background: linear-gradient(120deg, rgba(255, 255, 255, 0.86), rgba(226, 215, 187, 0.86));
      color: var(--color-primary-soft);
    }

    .profile-card {
      background: rgba(255, 253, 247, 0.9);
      border-radius: 26px;
      padding: 1.2rem 1.25rem;
      border: 1px solid rgba(212, 199, 177, 0.9);
      box-shadow: var(--shadow-soft);
      max-width: 360px;
      margin-left: auto;
    }

    .profile-image-wrap {
      width: 120px;
      height: 120px;
      border-radius: 999px;
      overflow: hidden;
      border: 3px solid rgba(39, 69, 44, 0.7);
      margin-bottom: 0.8rem;
    }

    .profile-image-wrap img {
      width: 100%;
      height: 120%;
      object-fit: cover;
    }

    .profile-name {
      font-weight: 600;
      color: var(--color-primary);
      font-size: 1.02rem;
      margin-bottom: 0.15rem;
    }

    .profile-role {
      font-size: 0.84rem;
      color: var(--color-muted);
      margin-bottom: 0.7rem;
    }

    .profile-note {
      font-size: 0.9rem;
      color: var(--color-muted);
      margin-bottom: 0.6rem;
    }

    .profile-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.45rem;
      font-size: 0.76rem;
    }

    .profile-badge {
      padding: 0.35rem 0.7rem;
      border-radius: 999px;
      background: rgba(39, 69, 44, 0.06);
      color: var(--color-primary-soft);
      border: 1px solid rgba(39, 69, 44, 0.12);
    }

    
    
    
    
    
    
    /* WERDEGANG */

    .timeline {
      position: relative;
      margin-top: 1rem;
      padding-left: 1.5rem;
    }

    .timeline::before {
      content: "";
      position: absolute;
      left: 0.35rem;
      top: 0.1rem;
      bottom: 0.1rem;
      width: 2px;
      border-radius: 999px;
      background: linear-gradient(to bottom, var(--color-primary-soft), rgba(39, 69, 44, 0.06));
    }

    .timeline-item {
      position: relative;
      padding-left: 1.2rem;
      padding-bottom: 1.3rem;
    }

    .timeline-item:last-child {
      padding-bottom: 0;
    }

    .timeline-dot {
      position: absolute;
      left: -0.03rem;
      top: 0.16rem;
      width: 12px;
      height: 12px;
      border-radius: 999px;
      background: #f5f0e8;
      border: 2px solid var(--color-primary-soft);
      box-shadow: 0 0 0 3px rgba(39, 69, 44, 0.15);
    }

    .timeline-year {
      font-size: 0.84rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-weight: 600;
      color: var(--color-muted);
      margin-bottom: 0.15rem;
    }

    .timeline-title {
      font-weight: 600;
      color: var(--color-primary);
      margin-bottom: 0.2rem;
      font-size: 0.98rem;
    }

    .timeline-text {
      font-size: 0.94rem;
      color: var(--color-muted);
    }

    
    
    
    
    
    
    /* LEISTUNGEN */

    .services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.8rem;
      margin-top: 1.2rem;
    }

    .service-card {
      background: var(--color-bg-elevated);
      border-radius: 20px;
      border: 1px solid rgba(210, 196, 172, 0.9);
      padding: 1.4rem 1.4rem 1.3rem;
      box-shadow: var(--shadow-soft);
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, var(--color-accent), var(--color-primary-soft));
    }

    .service-image-wrap {
      width: 100%;
      max-width: 260px;
      height: 140px;
      border-radius: 18px;
      overflow: hidden;
      border: 1px solid rgba(191, 174, 146, 0.85);
      background: #d7c6a6;
      margin-bottom: 1.2rem;
    }

    .service-image-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .service-title {
      font-weight: 600;
      color: var(--color-primary);
      font-size: 1.05rem;
      margin-bottom: 0.4rem;
    }

    .service-text {
      font-size: 0.92rem;
      color: var(--color-muted);
      margin-bottom: 0.5rem;
    }

    .service-list {
      margin-top: 0.25rem;
      padding-left: 1.1rem;
      font-size: 0.9rem;
      color: var(--color-muted);
      text-align: left;
      align-self: stretch;
      margin-bottom: 1.1rem;
    }

    .service-list li {
      margin-bottom: 0.25rem;
    }

    
    
    
    
    
    
    
    /* KONTAKT */

    .contact-section {
      padding-bottom: 4rem;
    }

    .contact-layout {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
      gap: 2.2rem;
      align-items: flex-start;
    }

    .contact-card {
      background: rgba(255, 253, 248, 0.9);
      border-radius: var(--radius-lg);
      padding: 1.4rem 1.5rem;
      border: 1px solid rgba(210, 197, 177, 0.9);
      box-shadow: var(--shadow-soft);
    }

    .contact-info-block + .contact-info-block {
      margin-top: 1.1rem;
    }

    .contact-label {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 600;
      color: var(--color-muted);
      margin-bottom: 0.25rem;
    }

    .contact-content {
      font-size: 0.95rem;
      color: var(--color-text);
    }

    .contact-hours-table {
      margin-top: 0.3rem;
      font-size: 0.9rem;
      color: var(--color-muted);
    }

    .contact-hours-table tr td:first-child {
      padding-right: 1rem;
      white-space: nowrap;
    }

    .contact-note {
      margin-top: 0.6rem;
      font-size: 0.86rem;
      color: var(--color-muted);
    }

    form#contact-form {
      display: grid;
      gap: 0.8rem;
      margin-top: 0.4rem;
    }

    .input-group {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      font-size: 0.9rem;
    }

    .input-group label {
      font-weight: 500;
      color: var(--color-primary);
    }

    .input-group input,
    .input-group textarea {
      border-radius: 12px;
      border: 1px solid var(--color-border);
      padding: 0.7rem 0.75rem;
      font-family: inherit;
      font-size: 0.92rem;
      background: rgba(253, 249, 241, 0.9);
      color: var(--color-text);
      outline: none;
      transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    }

    .input-group input:focus,
    .input-group textarea:focus {
      border-color: var(--color-primary-soft);
      box-shadow: 0 0 0 1px rgba(39, 69, 44, 0.2), 0 0 0 6px rgba(39, 69, 44, 0.12);
      background: #fffdf8;
    }

    .input-group small {
      font-size: 0.78rem;
      color: var(--color-muted);
    }

    textarea {
      min-height: 140px;
      resize: none; 
    }

    .contact-submit-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.75rem;
      margin-top: 0.4rem;
      justify-content: center;
    }

    .contact-hint {
      font-size: 0.78rem;
      color: var(--color-muted);
    }

    .map-wrapper {
      margin-top: 1.6rem;
      border-radius: 22px;
      overflow: hidden;
      border: 3px solid rgba(192, 176, 151, 0.9);
      box-shadow: var(--shadow-soft);
      background: #d9c9aa;
    }

    .map-wrapper iframe {
      width: 100%;
      min-height: 296px;
      border: 0;
      display: block;
    }

    .map-note {
      font-size: 0.78rem;
      color: var(--color-muted);
      margin-top: 0.4rem;
    }

    
    
    
    
    
    

    /* FOOTER */

    footer {
      border-top: 1px solid rgba(205, 192, 174, 0.9);
      background: rgba(246, 238, 226, 0.96);
      padding-block: 1.7rem;
    }

    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1.4rem;
      font-size: 0.85rem;
      color: var(--color-muted);
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1.2rem;
    }

    .footer-links a {
      position: relative;
      font-weight: 500;
    }

    .footer-links a::after {
      content: "";
      position: absolute;
      inset-inline: 0;
      bottom: -0.15rem;
      height: 1px;
      background: var(--color-primary-soft);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.2s ease;
    }

    .footer-links a:hover::after {
      transform: scaleX(1);
    }

    .footer-socials {
      display: flex;
      gap: 0.6rem;
      align-items: center;
    }

    .social-pill {
      padding: 0.3rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(39, 69, 44, 0.2);
      font-size: 0.8rem;
      color: var(--color-primary-soft);
      background: rgba(255, 253, 248, 0.9);
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
    }

    .social-pill span.icon {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      background: var(--color-primary-soft);
      color: #fdf7ed;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
    }

    
    
    
    
    
    
    
    
    /* RESPONSIVE */

    @media (max-width: 960px) {
      .hero-inner {
        grid-template-columns: minmax(0, 1.1fr);
      }

      .hero-media {
        order: 1;
      }

      .about-inner {
        grid-template-columns: minmax(0, 1fr);
      }

      .profile-card {
        margin-inline: 0;
        max-width: 420px;
      }

      .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .contact-layout {
        grid-template-columns: minmax(0, 1fr);
      }

      .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(245, 240, 232, 0.98);
        backdrop-filter: blur(16px);
        border-left: 1px solid rgba(214, 201, 182, 0.9);
        flex-direction: column;
        align-items: center;       
        justify-content: center;
        gap: 1.8rem;
        padding: 5rem 2rem 2.5rem;
        transform: translateX(100%);
        transform-origin: right;
        transition: transform 0.3s ease;
        z-index: 60;
      }

      .nav-links.open {
        transform: translateX(0);
      }

      .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;       
      }

      .nav-cta {
        margin-top: auto;           
        margin-bottom: 1.8rem;
        align-self: stretch;
        justify-content: center;
      }

      .nav-toggle {
        display: inline-flex;
      }

      .meisterbetrieb-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .coop-logo-wrap {
       margin-inline: auto;
     }
    }

    @media (max-width: 720px) {
      section {
        padding-block: 2.6rem;
      }

      .values-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .services-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .hero {
        padding-top: 0.1rem;
      }

      .hero-card {
        border-radius: 24px;
      }

      .hero-image-wrap {
        height: 230px;
      }

      
      section:not(#werdegang) .section-heading,
      section:not(#werdegang) .section-kicker,
      section:not(#werdegang) .section-intro {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
      }

      .hero-content {
        text-align: center;
      }

      .hero-actions {
        justify-content: center;
      }

      .hero-tags {
        justify-content: center;
      }

      .about-text p {
        text-align: center;
      }

      .about-highlights {
        justify-content: center;
      }

      .profile-card {
        margin-inline: auto;
      }

      .profile-card2 {
        margin-inline: auto;
      }

      .contact-layout {
        text-align: center;
      }

      .contact-hours-table {
        margin-inline: auto;
      }

      .footer-inner {
        align-items: flex-start;
      }

      .meisterbetrieb-highlight,
      .meisterbetrieb-video {
        padding: 1.3rem 1.2rem;
     }

      .meisterbadge h3 {
        font-size: 1.15rem;
    }

  .coop-header h4 {
    font-size: 0.98rem;
  }

  .coop-logo-wrap {
    height: 80px;
  }
    }

    @media (max-width: 520px) {
      .nav-inner {
        gap: 0.8rem;
      }

      .hero {
        padding-top: 0.1rem;
      }

      .brand-text span:last-child {
        display: none;
      }

      .container {
        width: min(100% - 1.5rem, 640px);
      }

      .section-heading {
        font-size: 1.6rem;
      }

      .hero-title {
        font-size: 2rem;
      }

      .footer-inner {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    
  @media (max-width: 960px) {
    .about-inner,
    .about-text,
    .values-grid,
    .services-grid,
    .contact-layout {
      justify-items: center;
    }

    .about-text p,
    .contact-info-block {
      text-align: center;
    }

    .profile-card {
      margin-left: 0; 
      margin-inline: auto ;
      max-width: 90vw;
    }

    .profile-card2 {
      margin-left: 0;
      margin-inline: auto;
      max-width: 90vw;
    }

    .profile-image-wrap {
      margin-inline: auto;
    }
  }


  @media (max-width: 720px) {
    section {
      text-align: center;
    }

    .timeline {
      padding-left: 0;
      padding-inline: auto;
      max-width: 500px;
      margin-inline: auto;
    }

    .values-grid,
    .services-grid {
      justify-items: center;
      gap: 1.5rem;
    }

    .service-card,
    .value-card {
      max-width: 90%;
    }

    .about-highlights,
    .hero-actions,
    .hero-tags {
      justify-content: center;
    }

    .contact-hours-table {
      margin-inline: auto;
    }

    .footer-inner {
      justify-content: center !important;
      gap: 2rem;
      flex-direction: column;
      align-items: center;
    }

    .footer-links,
    .footer-socials {
      justify-content: center;
    }
  }


  @media (max-width: 520px) {
    .container {
      padding-inline: 1rem;
    }

    .hero-media {
      order: 1;
    }
    
    section > * {
      max-width: 100%;
      margin-inline: auto;
    }
  }
