/* ========== derBit.de - Unified Stylesheet ========== */

/* Enthält Landingpage (derbit-de.html) + Legal-Pages (datenschutz/impressum) - vereinheitlicht */

:root {
      --navy: #1d2633;
      --navy-2: #303d4e;
      --red: #cc071e;
      --red-dark: #9f071b;
      --red-soft: #fff0f2;
      --red-pale: #fff7f8;
      --ink: #182331;
      --muted: #5e6b7a;
      --line: #dfe3e8;
      --surface: #ffffff;
      --surface-alt: #f7f8fa;
      --green: #087c5e;
      --green-soft: #ddf7ef;
      --radius: 20px;
      --shadow: 0 20px 50px rgba(29, 38, 51, .14);
      --shadow-soft: 0 10px 28px rgba(29, 38, 51, .09);
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      color: var(--ink);
      background: #fff;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
    }

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

    button,
    input,
    textarea {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

    .container {
      width: min(1160px, calc(100% - 40px));
      margin: 0 auto;
    }

    .section {
      padding: 104px 0;
    }

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

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin: 0 0 14px;
      color: var(--red);
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .eyebrow::before {
      content: "";
      width: 22px;
      height: 2px;
      background: var(--red);
    }

    h1,
    h2,
    h3,
    p {
      margin-top: 0;
    }

    h1 {
      margin-bottom: 24px;
      font-size: clamp(2.5rem, 5.1vw, 4.65rem);
      line-height: 1.04;
      letter-spacing: -.055em;
    }

    h2 {
      margin-bottom: 18px;
      font-size: clamp(2rem, 3.7vw, 3.25rem);
      line-height: 1.1;
      letter-spacing: -.04em;
    }

    h3 {
      margin-bottom: 10px;
      font-size: 1.13rem;
      line-height: 1.25;
    }

    .lead {
      max-width: 700px;
      color: var(--muted);
      font-size: clamp(1.06rem, 1.8vw, 1.24rem);
    }

    .section-heading {
      max-width: 760px;
      margin-bottom: 48px;
    }

    .text-center {
      text-align: center;
    }

    .text-center .lead,
    .text-center .section-heading {
      margin-right: auto;
      margin-left: auto;
    }

    .btn-row {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 30px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 50px;
      padding: 0 21px;
      border: 1px solid transparent;
      border-radius: 12px;
      font-weight: 760;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }

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

    .btn-primary {
      color: #fff;
      background: var(--red);
      box-shadow: 0 12px 22px rgba(204, 7, 30, .25);
    }

    .btn-primary:hover {
      background: var(--red-dark);
    }

    .btn-secondary {
      border-color: #c8cfd7;
      color: var(--navy);
      background: #fff;
    }

    .btn-secondary:hover {
      border-color: var(--red);
      color: var(--red);
      box-shadow: var(--shadow-soft);
    }

    .btn-light {
      color: var(--red-dark);
      background: #fff;
    }

    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      border-bottom: 1px solid rgba(223, 227, 232, .85);
      background: rgba(255, 255, 255, .94);
      backdrop-filter: blur(12px);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
      min-height: 76px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--navy);
      font-weight: 860;
      letter-spacing: -.025em;
    }

    .brand-mark {
      display: grid;
      place-items: center;
      width: 34px;
      height: 34px;
      border-radius: 9px;
      color: #fff;
      background: linear-gradient(135deg, #e31a31, var(--red-dark));
      font-size: 1.25rem;
    }

    .brand-logo {
      width: 34px;
      height: 34px;
      display: block;
      object-fit: contain;
      border-radius: 9px;
      flex-shrink: 0;
    }

    .brand small {
      display: block;
      color: var(--muted);
      font-size: .64rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 23px;
      color: #475565;
      font-size: .93rem;
      font-weight: 650;
    }

    .nav-links a:hover {
      color: var(--red);
    }

    .nav-toggle {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      border-radius: 10px;
      color: var(--navy);
      background: #fff;
    }

    .hero {
      position: relative;
      overflow: hidden;
      padding: 79px 0 58px;
      background: linear-gradient(135deg, #fffafa 0%, #fff2f3 53%, #f6f7f9 100%);
    }

    .hero::before,
    .hero::after {
      position: absolute;
      border-radius: 50%;
      content: "";
      pointer-events: none;
    }

    .hero::before {
      top: -330px;
      right: -190px;
      width: 650px;
      height: 650px;
      border: 1px solid rgba(204, 7, 30, .14);
      box-shadow: 0 0 0 58px rgba(204, 7, 30, .045), 0 0 0 118px rgba(204, 7, 30, .025);
    }

    .hero::after {
      bottom: -220px;
      left: -160px;
      width: 460px;
      height: 460px;
      background: rgba(204, 7, 30, .06);
    }

    .hero-grid {
      position: relative;
      display: grid;
      grid-template-columns: 1.03fr .97fr;
      align-items: center;
      gap: 50px;
    }

    .hero-copy {
      padding: 32px 0;
    }

    .hero-copy h1 strong {
      color: var(--red);
    }

    .benefit-list {
      display: grid;
      gap: 11px;
      margin: 28px 0 0;
      padding: 0;
      list-style: none;
      color: #394657;
      font-weight: 610;
    }

    .benefit-list li {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .check {
      display: inline-grid;
      flex: 0 0 21px;
      place-items: center;
      width: 21px;
      height: 21px;
      border-radius: 50%;
      color: #fff;
      background: var(--red);
      font-size: .75rem;
    }

    .trust-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 31px;
    }

    .pill {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 11px;
      border: 1px solid #e2d6d8;
      border-radius: 999px;
      color: #4f5b69;
      background: rgba(255, 255, 255, .78);
      font-size: .76rem;
      font-weight: 740;
    }

    .hero-visual {
      position: relative;
      min-height: 510px;
    }

    .network-panel {
      position: absolute;
      top: 16px;
      right: 0;
      width: min(100%, 500px);
      padding: 23px;
      border: 1px solid rgba(255, 255, 255, .9);
      border-radius: 24px;
      background: rgba(255, 255, 255, .96);
      box-shadow: var(--shadow);
    }

    .panel-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 20px;
    }

    .panel-label {
      color: var(--muted);
      font-size: .74rem;
      font-weight: 760;
      letter-spacing: .06em;
      text-transform: uppercase;
    }

    .online {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--green);
      font-size: .78rem;
      font-weight: 760;
    }

    .online::before {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      content: "";
      background: var(--green);
      box-shadow: 0 0 0 4px rgba(8, 124, 94, .13);
    }

    .network-map {
      position: relative;
      display: grid;
      gap: 15px;
      min-height: 282px;
      padding: 17px;
      border-radius: 16px;
      background: linear-gradient(135deg, #fdf4f5, #f5f7f9);
      overflow: hidden;
    }

    .network-map::before {
      position: absolute;
      top: 73px;
      bottom: 55px;
      left: 50%;
      width: 2px;
      content: "";
      background: linear-gradient(var(--red), #df7885);
    }

    .node {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 12px;
      width: max-content;
      max-width: 90%;
      padding: 10px 12px;
      border: 1px solid #e1e4e8;
      border-radius: 11px;
      color: #2e3d4f;
      background: #fff;
      box-shadow: 0 6px 12px rgba(29, 38, 51, .05);
      font-size: .78rem;
      font-weight: 760;
    }

    .node:nth-child(1) {
      justify-self: center;
    }

    .node:nth-child(2) {
      justify-self: start;
      margin-left: 13px;
    }

    .node:nth-child(3) {
      justify-self: end;
      margin-right: 13px;
    }

    .node:nth-child(4) {
      justify-self: center;
    }

    .node-icon {
      display: grid;
      place-items: center;
      width: 27px;
      height: 27px;
      border-radius: 8px;
      color: #fff;
      background: var(--red);
      font-size: .9rem;
    }

    .node:nth-child(3) .node-icon {
      background: var(--green);
    }

    .panel-footer {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 9px;
      margin-top: 17px;
    }

    .panel-stat {
      padding: 10px;
      border-radius: 10px;
      background: var(--surface-alt);
    }

    .panel-stat b {
      display: block;
      color: var(--navy);
      font-size: 1rem;
    }

    .panel-stat span {
      color: var(--muted);
      font-size: .65rem;
    }

    .badge-card {
      position: absolute;
      z-index: 3;
      right: 14px;
      bottom: 0;
      width: 205px;
      padding: 15px;
      border-radius: 15px;
      color: #fff;
      background: linear-gradient(140deg, #6f111e, var(--red));
      box-shadow: 0 18px 34px rgba(29, 38, 51, .22);
      transform: rotate(2deg);
    }

    .badge-card small {
      display: block;
      color: rgba(255, 255, 255, .73);
      font-size: .66rem;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .badge-card strong {
      display: block;
      margin: 4px 0 8px;
      font-size: 1rem;
    }

    .badge-tags {
      display: flex;
      gap: 6px;
    }

    .badge-tags span {
      padding: 4px 6px;
      border-radius: 6px;
      color: #fff4f5;
      background: rgba(255, 255, 255, .16);
      font-size: .63rem;
      font-weight: 760;
    }

    .status-card {
      position: absolute;
      z-index: 3;
      bottom: 27px;
      left: 6px;
      width: 155px;
      padding: 14px;
      border-radius: 14px;
      background: #fff;
      box-shadow: var(--shadow-soft);
      transform: rotate(-7deg);
    }

    .status-card b {
      display: block;
      color: var(--green);
      font-size: .82rem;
    }

    .status-card span {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: .7rem;
    }

    .status-bar {
      height: 5px;
      margin-top: 10px;
      border-radius: 99px;
      background: var(--green-soft);
      overflow: hidden;
    }

    .status-bar::after {
      display: block;
      width: 88%;
      height: 100%;
      border-radius: inherit;
      content: "";
      background: var(--green);
    }

    .cards-3,
    .cards-2,
    .service-grid {
      display: grid;
      gap: 20px;
    }

    .cards-3 {
      grid-template-columns: repeat(3, 1fr);
    }

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

    .service-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .card {
      padding: 27px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      box-shadow: 0 4px 10px rgba(29, 38, 51, .025);
    }

    .card p {
      margin-bottom: 0;
      color: var(--muted);
    }

    .icon {
      display: grid;
      place-items: center;
      width: 47px;
      height: 47px;
      margin-bottom: 20px;
      border-radius: 13px;
      color: var(--red);
      background: var(--red-soft);
      font-size: 1.25rem;
    }

    .service-card {
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: 280px;
      padding: 29px;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: #fff;
      overflow: hidden;
      transition: transform .2s ease, box-shadow .2s ease;
    }

    .service-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-soft);
    }

    .service-card::after {
      position: absolute;
      right: -48px;
      bottom: -48px;
      width: 140px;
      height: 140px;
      border: 1px solid rgba(204, 7, 30, .16);
      border-radius: 50%;
      content: "";
      box-shadow: 0 0 0 20px rgba(204, 7, 30, .03);
    }

    .service-card p {
      position: relative;
      z-index: 1;
      color: var(--muted);
    }

    .service-card a {
      position: relative;
      z-index: 1;
      margin-top: auto;
      padding-top: 23px;
      color: var(--red);
      font-size: .85rem;
      font-weight: 800;
    }

    .split {
      display: grid;
      grid-template-columns: .92fr 1.08fr;
      gap: 65px;
      align-items: center;
    }

    .checklist {
      display: grid;
      gap: 15px;
      margin: 30px 0 0;
      padding: 0;
      list-style: none;
    }

    .checklist li {
      display: grid;
      grid-template-columns: 27px 1fr;
      gap: 12px;
      align-items: flex-start;
    }

    .checklist-icon {
      display: grid;
      place-items: center;
      width: 27px;
      height: 27px;
      border-radius: 50%;
      color: var(--red-dark);
      background: var(--red-soft);
      font-size: .85rem;
    }

    .checklist b {
      display: block;
      margin-bottom: 2px;
    }

    .checklist span {
      color: var(--muted);
      font-size: .92rem;
    }

    .diagram {
      position: relative;
      min-height: 410px;
      padding: 31px;
      border-radius: 24px;
      background: linear-gradient(145deg, #252d39, #4a1720);
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .diagram::before {
      position: absolute;
      top: 18%;
      right: -21%;
      width: 250px;
      height: 250px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 50%;
      content: "";
      box-shadow: 0 0 0 34px rgba(255, 255, 255, .035), 0 0 0 68px rgba(255, 255, 255, .025);
    }

    .diagram-title {
      color: rgba(255, 255, 255, .65);
      font-size: .72rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .diagram-flow {
      position: relative;
      display: grid;
      gap: 17px;
      margin-top: 28px;
    }

    .diagram-node {
      display: flex;
      align-items: center;
      gap: 13px;
      width: 82%;
      padding: 13px;
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 12px;
      color: #fff;
      background: rgba(255, 255, 255, .1);
      backdrop-filter: blur(4px);
      font-size: .84rem;
      font-weight: 760;
    }

    .diagram-node:nth-child(2) {
      width: 88%;
      margin-left: auto;
    }

    .diagram-node:nth-child(3) {
      width: 76%;
    }

    .diagram-node:nth-child(4) {
      width: 85%;
      margin-left: auto;
    }

    .diagram-icon {
      display: grid;
      place-items: center;
      width: 30px;
      height: 30px;
      border-radius: 8px;
      color: var(--red-dark);
      background: #fff0f2;
    }

    .diagram-tags {
      position: absolute;
      bottom: 28px;
      left: 31px;
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .diagram-tags span {
      padding: 5px 9px;
      border-radius: 99px;
      color: rgba(255, 255, 255, .85);
      background: rgba(255, 255, 255, .12);
      font-size: .67rem;
      font-weight: 720;
    }

    .telephony-layout {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 65px;
      align-items: center;
    }

    .phone-visual {
      position: relative;
      min-height: 440px;
      border-radius: 24px;
      background: radial-gradient(circle at center, #fff0f2 0, #f7f8fa 52%, #fff 72%);
      overflow: hidden;
    }

    .phone-device {
      position: absolute;
      top: 48px;
      left: 50%;
      width: 205px;
      height: 326px;
      padding: 15px;
      border: 9px solid #263140;
      border-radius: 31px;
      background: #fff;
      box-shadow: 0 22px 40px rgba(29, 38, 51, .19);
      transform: translateX(-50%) rotate(5deg);
    }

    .phone-notch {
      width: 48px;
      height: 6px;
      margin: 0 auto 28px;
      border-radius: 99px;
      background: #263140;
    }

    .phone-screen-title {
      color: var(--muted);
      font-size: .67rem;
      text-align: center;
    }

    .call-avatar {
      display: grid;
      place-items: center;
      width: 73px;
      height: 73px;
      margin: 20px auto 10px;
      border-radius: 50%;
      color: #fff;
      background: linear-gradient(135deg, var(--red), #e54152);
      font-size: 1.7rem;
    }

    .call-name {
      color: var(--navy);
      font-size: .93rem;
      font-weight: 820;
      text-align: center;
    }

    .call-status {
      margin-top: 4px;
      color: var(--green);
      font-size: .68rem;
      font-weight: 750;
      text-align: center;
    }

    .wave {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 3px;
      height: 34px;
      margin-top: 17px;
    }

    .wave i {
      width: 4px;
      border-radius: 99px;
      background: var(--red);
      animation: pulse 1s ease-in-out infinite alternate;
    }

    .wave i:nth-child(1),
    .wave i:nth-child(7) {
      height: 8px;
    }

    .wave i:nth-child(2),
    .wave i:nth-child(6) {
      height: 17px;
      animation-delay: .2s;
    }

    .wave i:nth-child(3),
    .wave i:nth-child(5) {
      height: 28px;
      animation-delay: .4s;
    }

    .wave i:nth-child(4) {
      height: 34px;
      animation-delay: .1s;
    }

    @keyframes pulse {
      from {
        transform: scaleY(.45);
      }

      to {
        transform: scaleY(1);
      }
    }

    .call-actions {
      display: flex;
      justify-content: center;
      gap: 18px;
      margin-top: 25px;
    }

    .call-actions span {
      display: grid;
      place-items: center;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      color: #fff;
      background: #657182;
      font-size: .85rem;
    }

    .call-actions span:last-child {
      background: var(--red);
    }

    .phone-card {
      position: absolute;
      padding: 13px;
      border-radius: 13px;
      background: #fff;
      box-shadow: var(--shadow-soft);
    }

    .phone-card.left {
      top: 88px;
      left: 24px;
      transform: rotate(-6deg);
    }

    .phone-card.right {
      right: 20px;
      bottom: 67px;
      transform: rotate(5deg);
    }

    .phone-card b {
      display: block;
      color: var(--red-dark);
      font-size: .8rem;
    }

    .phone-card span {
      display: block;
      margin-top: 3px;
      color: var(--muted);
      font-size: .67rem;
    }

    .phone-card .small-icon {
      display: inline-grid;
      place-items: center;
      width: 24px;
      height: 24px;
      margin-right: 7px;
      border-radius: 7px;
      color: var(--red);
      background: var(--red-soft);
    }

    .cert-layout {
      display: grid;
      grid-template-columns: .9fr 1.1fr;
      gap: 60px;
      align-items: center;
    }

    .cert-visual {
      position: relative;
      display: grid;
      place-items: center;
      min-height: 390px;
      border-radius: 24px;
      background: radial-gradient(circle at center, #fff0f2 0, #f7f8fa 45%, #fff 72%);
    }

    .seal {
      display: grid;
      place-items: center;
      width: 186px;
      height: 186px;
      border: 8px solid var(--red);
      border-radius: 50%;
      color: var(--navy);
      background: #fff;
      box-shadow: 0 17px 32px rgba(29, 38, 51, .15), inset 0 0 0 7px #ffe1e5;
      text-align: center;
    }

    .seal strong {
      display: block;
      font-size: 1.4rem;
      line-height: 1;
      letter-spacing: -.05em;
    }

    .seal span {
      display: block;
      margin-top: 6px;
      color: var(--red-dark);
      font-size: .66rem;
      font-weight: 850;
      letter-spacing: .1em;
      text-transform: uppercase;
    }

    .seal small {
      display: block;
      margin-top: 7px;
      color: var(--muted);
      font-size: .62rem;
      font-weight: 700;
    }

    .cert-label {
      position: absolute;
      padding: 10px 12px;
      border-radius: 11px;
      color: var(--navy);
      background: #fff;
      box-shadow: var(--shadow-soft);
      font-size: .72rem;
      font-weight: 800;
    }

    .cert-label.left {
      transform: translate(-140px, -104px);
    }

    .cert-label.right {
      transform: translate(125px, 82px);
    }

    .cert-label b {
      display: block;
      color: var(--red-dark);
    }

    .guest-banner {
      position: relative;
      overflow: hidden;
      padding: 48px;
      border-radius: 24px;
      color: #fff;
      background: linear-gradient(125deg, #2a2d34, #6c1322 62%, #c10820);
    }

    .guest-banner::before {
      position: absolute;
      top: -140px;
      right: -80px;
      width: 330px;
      height: 330px;
      border: 1px solid rgba(255, 255, 255, .17);
      border-radius: 50%;
      content: "";
      box-shadow: 0 0 0 34px rgba(255, 255, 255, .035), 0 0 0 68px rgba(255, 255, 255, .025);
    }

    .guest-grid {
      position: relative;
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 40px;
      align-items: center;
    }

    .guest-banner h2 {
      margin-bottom: 13px;
    }

    .guest-banner p {
      max-width: 670px;
      margin-bottom: 0;
      color: rgba(255, 255, 255, .82);
      font-size: 1.06rem;
    }

    .guest-mini-ui {
      padding: 18px;
      border: 1px solid rgba(255, 255, 255, .25);
      border-radius: 15px;
      background: rgba(255, 255, 255, .11);
      backdrop-filter: blur(5px);
    }

    .mini-top {
      display: flex;
      justify-content: space-between;
      color: rgba(255, 255, 255, .75);
      font-size: .69rem;
      font-weight: 760;
    }

    .mini-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 13px;
      padding: 11px;
      border-radius: 9px;
      background: #fff;
      color: var(--navy);
      font-size: .75rem;
      font-weight: 800;
    }

    .mini-qr {
      display: grid;
      grid-template-columns: repeat(4, 6px);
      gap: 2px;
      padding: 4px;
      background: #fff;
    }

    .mini-qr i {
      width: 6px;
      height: 6px;
      background: var(--navy);
    }

    .mini-qr i:nth-child(2n) {
      background: transparent;
    }

    .contact-section {
      padding: 94px 0;
      color: #fff;
      background: linear-gradient(125deg, #252a33, #68121f 66%, #c50820);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr .86fr;
      gap: 68px;
      align-items: center;
    }

    .contact-section h2 {
      margin-bottom: 17px;
    }

    .contact-section .lead {
      color: rgba(255, 255, 255, .79);
    }

    .contact-form {
      padding: 26px;
      border-radius: 18px;
      color: var(--ink);
      background: #fff;
      box-shadow: 0 20px 45px rgba(0, 0, 0, .18);
    }

    .contact-form h3 {
      color: var(--navy);
      font-size: 1.28rem;
    }

    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 13px;
    }

    .field {
      display: grid;
      gap: 6px;
    }

    .field.full {
      grid-column: 1 / -1;
    }

    label {
      color: #3d5269;
      font-size: .75rem;
      font-weight: 770;
    }

    input,
    textarea {
      width: 100%;
      padding: 11px 12px;
      border: 1px solid #ced4da;
      border-radius: 9px;
      color: var(--ink);
      background: #fff;
      outline: none;
    }

    input:focus,
    textarea:focus {
      border-color: var(--red);
      box-shadow: 0 0 0 3px rgba(204, 7, 30, .13);
    }

    textarea {
      min-height: 90px;
      resize: vertical;
    }

    .form-note {
      margin: 12px 0 0;
      color: var(--muted);
      font-size: .7rem;
    }

    .form-success {
      display: none;
      margin: 12px 0 0;
      padding: 10px 11px;
      border-radius: 9px;
      color: #066657;
      background: var(--green-soft);
      font-size: .79rem;
      font-weight: 700;
    }

    .form-success.show {
      display: block;
    }

    .contact-card {
      margin-top: 28px;
      padding: 22px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 14px;
      background: rgba(255, 255, 255, .06);
    }

    .contact-card h3 {
      margin: 0 0 16px;
      color: #fff;
      font-size: 1rem;
      font-weight: 700;
    }

    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 14px;
    }

    .contact-item:last-of-type {
      margin-bottom: 12px;
    }

    .contact-icon {
      flex: 0 0 28px;
      display: grid;
      place-items: center;
      width: 28px;
      height: 28px;
      border-radius: 8px;
      color: #fff;
      background: rgba(255, 255, 255, .12);
      font-size: 1rem;
    }

    .contact-icon.phone {
      background: rgba(204, 7, 30, .25);
    }

    .contact-details {
      display: grid;
      gap: 2px;
    }

    .contact-label {
      color: rgba(255, 255, 255, .65);
      font-size: .68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .04em;
    }

    .contact-value {
      color: #fff;
      font-size: .92rem;
      font-weight: 600;
      transition: color .2s ease;
    }

    .contact-value:hover {
      color: #ffd2d8;
    }

    .contact-note {
      margin: 0;
      color: rgba(255, 255, 255, .55);
      font-size: .78rem;
    }

    footer {
      padding: 58px 0 24px;
      color: #d3d9e0;
      background: #202731;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.35fr repeat(3, 1fr);
      gap: 35px;
      padding-bottom: 44px;
    }

    .footer-brand .brand {
      color: #fff;
    }

    .footer-brand p {
      max-width: 300px;
      color: #b5bfcb;
      font-size: .86rem;
    }

    .footer-title {
      margin: 3px 0 14px;
      color: #fff;
      font-size: .82rem;
      font-weight: 800;
    }

    .footer-list {
      display: grid;
      gap: 9px;
      margin: 0;
      padding: 0;
      list-style: none;
      color: #b5bfcb;
      font-size: .82rem;
    }

    .footer-list a:hover {
      color: #fff;
    }

    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 18px;
      padding-top: 22px;
      border-top: 1px solid rgba(255, 255, 255, .12);
      color: #9aa8b8;
      font-size: .72rem;
    }

    @media (max-width: 980px) {
      .nav-links {
        display: none;
      }

      .nav-toggle {
        display: inline-grid;
        place-items: center;
      }

      .nav-links.open {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: grid;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--shadow-soft);
      }

      .nav-links.open a {
        padding: 12px;
      }

      .nav-links.open .btn {
        margin: 4px;
      }

      .hero-grid,
      .split,
      .telephony-layout,
      .cert-layout,
      .contact-grid,
      .guest-grid {
        grid-template-columns: 1fr;
      }

      .hero-copy {
        padding-top: 10px;
      }

      .hero-visual {
        max-width: 580px;
        width: 100%;
        margin: auto;
      }

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

      .footer-brand {
        grid-column: 1 / -1;
      }
    }

    @media (max-width: 700px) {
      .container {
        width: min(100% - 30px, 1160px);
      }

      .section {
        padding: 72px 0;
      }

      .hero {
        padding-top: 48px;
      }

      .cards-3,
      .cards-2,
      .service-grid {
        grid-template-columns: 1fr;
      }

      .hero-visual {
        min-height: 440px;
        transform: scale(.91);
        transform-origin: top center;
        margin-bottom: -37px;
      }

      .network-panel {
        right: 50%;
        transform: translateX(50%);
      }

      .badge-card {
        right: 8px;
      }

      .status-card {
        left: 0;
      }

      .cert-visual,
      .phone-visual {
        min-height: 330px;
      }

      .phone-device {
        top: 21px;
        transform: translateX(-50%) scale(.84) rotate(5deg);
      }

      .phone-card.left {
        top: 47px;
        left: 6px;
      }

      .phone-card.right {
        right: 6px;
        bottom: 36px;
      }

      .cert-label.left {
        transform: translate(-102px, -104px);
      }

      .cert-label.right {
        transform: translate(93px, 82px);
      }

      .guest-banner {
        padding: 31px;
      }

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

      .field.full {
        grid-column: auto;
      }

      .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
      }

      .footer-bottom {
        flex-direction: column;
      }
    }

    @media (max-width: 410px) {
      .hero-visual {
        transform: scale(.78);
        margin-bottom: -80px;
      }

      .btn-row .btn {
        width: 100%;
      }

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


/* ===== Legal Pages (datenschutz.html / impressum.html) - Ergänzungen & Overrides ===== */

/* Main-Padding nur für Legal-Pages (main ohne #top) */
main { padding: 78px 0 96px; }
main#top { padding: 0; }

/* Container schmaler auf Legal-Pages: main > .container = 920px statt 1160px */
main > .container { width: min(920px, calc(100% - 40px)); }

/* Back-Link (nur Legal) */
.back {
  color: #4d5968;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.back:hover { color: var(--red); }

/* Typography Overrides für Legal-Pages */
main:not(#top) h1 {
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.content-card h2 {
  margin: 42px 0 13px;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.content-card h2:first-child { margin-top: 0; }
/* impressum hat h2 margin 40px vs 42px - vereinheitlicht auf 42px */
.content-card h3 { margin: 25px 0 9px; font-size: 1.04rem; }
.content-card p { margin: 0 0 14px; }
main:not(#top) .lead {
  max-width: 730px;
  font-size: 1.08rem;
}
.content-card {
  margin-top: 42px;
  padding: clamp(25px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(29, 38, 51, .06);
}
.content-card ul {
  margin: 0 0 15px;
  padding-left: 22px;
}
.note {
  padding: 17px 19px;
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: var(--red-soft);
  color: #4c2d32;
}
.todo {
  display: block;
  margin: 8px 0;
  padding: 9px 11px;
  border: 1px dashed var(--red);
  border-radius: 8px;
  color: var(--red-dark);
  background: #fff8f8;
  font-size: .85rem;
  font-weight: 700;
}
address { font-style: normal; }

/* Links innerhalb Content-Card unterstrichen (Legal) */
.content-card a {
  color: var(--red-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.content-card a:hover { color: var(--red); }

/* Footer für Legal-Pages (schmaler) */
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}
.footer-row a { color: #fff; }
.footer-row a:hover { color: #ffd2d8; }

/* Legal Footer basiert auf gleichem footer-Element - Padding-Unterschied via :has */
footer:has(.footer-row) { padding: 28px 0; font-size: .8rem; }
footer:has(.footer-grid) { padding: 58px 0 24px; }

/* Responsive für Legal-Pages */
@media (max-width:600px) {
  main > .container { width: min(100% - 30px, 920px); }
  .footer-row { flex-direction: column; }
}
