@font-face {
  font-family: 'ShareTech-Regular';
  src: url('../webfonts/ShareTech-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body, html { margin: 0; padding: 0; height: 100%; }

/* Remove top gray strip */
#page-wrapper::before, #header::before { display: none !important; background: none !important; content: none !important; }
#page-wrapper { padding-top: 0 !important; margin-top: 0 !important; background: none !important; }

#header {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 1.5em 2em !important;
  position: absolute; top: 0; left: 0; width: 100%;
  display: flex; justify-content: space-between; align-items: center; z-index: 10;
}
#header h1 { margin: 0; }
#header h1 img {
  height: 100px; width: auto; background: white; padding: 24px 28px;
  border-radius: 0 0 10px 10px; display: block; margin-left: 25px;
}
#nav ul { list-style: none; margin: 0; padding: 0; }
#nav a { color: white !important; text-decoration: none; }

.fullscreen-image {
  position: relative; width: 100%; height: 100vh;
  background: url('../../images/leistungen1.jpg') no-repeat center center/cover;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  color: white; text-align: center;
}
.fullscreen-image h2 {
  background: rgba(0,0,0,0.5); padding: 1em 2em; border-radius: 10px;
  font-size: 2em; line-height: 1.4; max-width: 80%; z-index: 5;
}
@media (max-width: 600px){
  .fullscreen-image h2{ font-size:1.25rem; }
}

:root { --accent:#F39C12; --text-dark:#222; }

.story { padding: clamp(2rem, 5vw, 5rem) 1.5rem; background:#fff; color:var(--text-dark); }

/* === Only this block is meaningfully changed === */
.story__inner {
  max-width:800px; margin:0 auto;
  display:grid;
  gap:2.5rem;
  grid-template-columns:0.4fr 0.7fr;
  grid-template-areas:"left copy";          /* CHANGED: no shared rows */
  align-items:start;
}
.story__left {
  grid-area:left;
  display:flex;                              /* stack headline + figure */
  flex-direction:column;
  align-items:flex-start;
  gap:0.75rem;                               /* small space between headline and figure */
}
@media (max-width: 900px){
  .story__inner{ grid-template-columns:1fr; grid-template-areas:"left" "copy"; }
}

/* Headline no longer needs grid-area */
.story__headline {
  font-weight:600; letter-spacing:.02em; line-height:1.15;
  font-size:clamp(1.2rem,2.4vw,1.6rem); text-transform:uppercase;
  font-family:'ShareTech-Regular','Share Tech', sans-serif;
}

/* Right column stays the same */
.story__copy { grid-area: copy; }
.story__copy p {
  font-weight:400; letter-spacing:-0.5px; word-spacing:-1px;
  margin:0 0 1.25rem 0; font-size:clamp(1rem,1.0vw,1rem); line-height:1.7;
}
.story__bar { display:inline-block; height:6px; width:56px; background:var(--accent); border-radius:3px; margin:.35rem 0 1rem 0; }
.story__em { font-weight:800; }

/* Figure just follows the headline inside .story__left */
.story__figure{
  display:block;
  width:clamp(100px, 18vw, 180px);
  max-width:100%;
  height:auto;
  margin:0;
  align-self:flex-start;
  justify-self:flex-start;
}

    /* Footer */
    .footer {
      background:#566879;
      color:#fff;
      padding:24px;
      position: relative;
    }
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr auto; /* third column for SVG */
  column-gap: clamp(24px, 4vw, 80px);
  row-gap: 4px;
  align-items: start;
}
    .footer-nav ul { list-style:none; margin:0; padding:0; }
    .footer-nav li + li { margin-top:10px; }
    .footer-nav a {
      display:block; text-decoration:none; color:#fff; font-weight:800; line-height:1.05;
      letter-spacing:.02em; text-transform:uppercase; font-size:clamp(16px, 3vw, 26px);
    }
    .footer-nav .accent > a { color:#F39C12; }

    .footer-contact { max-width:520px; }
    .footer-contact p { margin:6px 0 0; color:rgba(255,255,255,.92); font-size:12px; }
    .footer-contact p strong { color:#fff; font-size:14px; }
    .footer-contact a { color:inherit; text-decoration:none !important; }
    .footer-contact a:hover { text-decoration:none !important; }

    .footer-nav li, .footer-nav a { border:0 !important; box-shadow:none !important; background-image:none !important; }
    .footer-nav li { border-top:0 !important; border-bottom:0 !important; padding:0; }
    .footer-nav li::before, .footer-nav li::after, .footer-nav a::after { content:none !important; display:none !important; }

    .footer-legal {
      margin-top:4px;
      font-size:11px;
      color:rgba(255,255,255,0.8);
      grid-column:1;
      grid-row:2;
    }
    .footer-legal a { color:rgba(255,255,255,0.8); text-decoration:none !important; border-bottom:none !important; }
    .footer-legal a:hover { text-decoration:none !important; border-bottom:none !important; }
    .footer-figure {
      position: absolute;
      top: -24px;
      right: -10px;
      margin: 0;
      width: 260px;        /* larger logo; adjust as desired */
      height: auto;        /* preserve aspect ratio */
    }

@media (max-width: 800px){
  .footer-container { grid-template-columns:1fr; text-align:center; }
  .footer { padding:40px 20px; }
  .footer-figure {
    position: static;
    width: 120px;
    max-width: 60%;
    height: auto;
    margin: 20px auto 0;
    display: block;
  }
}