/*
Theme Name: Digi Dienste
Theme URI: https://digidienste.online
Author: Digi Dienste
Author URI: https://digidienste.online
Description: A warm, professional one-page theme for Digi Dienste — practical, fully customised AI, marketing, training and digital solutions.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: digi-dienste
*/

:root {
  --aubergine: #241729;
  --aubergine-soft: #312037;
  --aubergine-wash: #49354b;
  --cream: #f7efdf;
  --cream-deep: #eee2ce;
  --cream-muted: #d9cfbf;
  --gold: #b9854f;
  --gold-light: #d3aa78;
  --ink: #302632;
  --ink-muted: #675d67;
  --line: #d9cab5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.basic-page { min-height: 70vh; padding-block: 140px 90px; }
.basic-page h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px,6vw,70px); font-weight: 400; }
.basic-page article { max-width: 760px; font-size: 17px; line-height: 1.7; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--aubergine); }
.section-shell { width: min(100% - 64px, 1176px); margin-inline: auto; }
.section-label { margin: 0 0 24px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.label-light { color: var(--gold-light); }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; width: min(100%,1240px); margin: auto; padding: 26px 32px; }
.brand img { display: block; width: 210px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 26px; color: var(--cream); font-size: 14px; }
.site-header nav a { text-decoration: none; transition: color .2s ease, background .2s ease; }
.site-header nav a:not(.nav-cta):hover { color: var(--gold-light); }
.nav-cta { padding: 12px 16px; border: 1px solid rgba(247,239,223,.45); }
.nav-cta:hover { background: var(--cream); color: var(--aubergine); }
.hero { min-height: 760px; display: grid; grid-template-columns: minmax(0,1.2fr) minmax(330px,.8fr); gap: 70px; align-items: center; padding: 150px max(32px,calc((100vw - 1176px)/2)) 86px; background: var(--aubergine); color: var(--cream); overflow: hidden; }
.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 24px; color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(48px,6vw,78px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.hero-intro { max-width: 650px; margin: 28px 0 0; font-size: 22px; line-height: 1.45; }
.hero-support { max-width: 630px; margin: 12px 0 0; color: var(--cream-muted); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border: 1px solid transparent; text-decoration: none; font-weight: 700; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--aubergine); }
.button-gold:hover { background: var(--gold-light); }
.button-dark { margin-top: 18px; background: var(--aubergine); color: var(--cream); }
.button-dark:hover { background: var(--aubergine-soft); }
.button-outline { border-color: rgba(247,239,223,.45); color: var(--cream); }
.button-outline:hover { background: var(--cream); color: var(--aubergine); }
.text-link { color: var(--cream); font-weight: 700; text-decoration: none; }
.text-link span { color: var(--gold-light); margin-left: 6px; }
.location { margin: 38px 0 0; color: var(--cream-muted); font-size: 13px; }
.hero-system { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%,420px); transform: rotate(-2deg); }
.hero-system::before { content: ""; position: absolute; inset: -80px; border: 1px solid rgba(211,170,120,.1); transform: rotate(9deg); pointer-events: none; }
.hero-system > div { min-height: 116px; display: grid; place-items: center; border: 1px solid rgba(247,239,223,.25); text-align: center; text-transform: uppercase; letter-spacing: .11em; font-size: 12px; }
.system-main { grid-row: span 2; background: var(--cream); color: var(--aubergine); font-size: 17px !important; font-weight: 700; }
.system-step { color: var(--cream); }
.system-result { grid-column: span 2; background: var(--gold); color: var(--aubergine); font-size: 16px !important; font-weight: 700; }
.intro-section { padding-block: 120px; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.intro-grid h2, .section-heading-row h2, .custom-copy h2, .who-copy h2, .about-copy h2, .contact-inner h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px,5vw,66px); line-height: 1.02; letter-spacing: -.035em; font-weight: 400; }
.intro-copy { font-size: 17px; line-height: 1.7; }
.intro-copy > p { margin-bottom: 0; }
.intro-copy > p:first-child { margin-top: 0; }
.intro-copy > p + p { margin-top: 18px; }
.plain-list { display: grid; gap: 12px; margin: 24px 0 28px; padding: 0; list-style: none; }
.plain-list li { position: relative; padding-left: 24px; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--gold); }
.strong-copy { margin-top: 28px; font-weight: 700; }
.services-section { padding-block: 110px; background: var(--aubergine); color: var(--cream); }
.section-heading-row { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.section-heading-row h2 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(40px,5vw,62px); font-weight: 600; }
.section-heading-row > p { margin: 0; color: var(--cream-muted); font-size: 16px; line-height: 1.65; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(247,239,223,.22); border-bottom: 1px solid rgba(247,239,223,.22); }
.service-card { display: flex; flex-direction: column; min-width: 0; padding: 32px 28px 34px; border-right: 1px solid rgba(247,239,223,.22); }
.service-card:first-child { padding-left: 0; padding-right: 36px; }
.service-card:last-child { border-right: 0; padding-right: 0; padding-left: 36px; }
.service-number { color: var(--gold-light); font-size: 12px; }
.service-card h3 { min-height: 64px; margin: 14px 0 12px; font-size: 26px; line-height: 1.15; }
.service-intro { min-height: 76px; margin: 0; color: var(--cream-muted); line-height: 1.55; }
.service-note { margin: 0 0 12px; color: var(--gold-light); font-size: 13px; line-height: 1.5; }
.service-card ul { display: grid; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.service-card li { position: relative; padding-left: 18px; color: var(--cream); font-size: 14px; line-height: 1.45; }
.service-card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; background: var(--gold); }
.service-close { margin: auto 0 0; padding-top: 22px; border-top: 1px solid rgba(247,239,223,.14); color: var(--gold-light); font-size: 14px; font-weight: 700; line-height: 1.5; }
.custom-section { padding-block: 120px; background: var(--cream-deep); }
.custom-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.custom-mark { position: relative; width: min(100%,420px); aspect-ratio: 1; display: grid; place-content: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--aubergine); text-align: center; text-transform: uppercase; letter-spacing: .12em; transform: rotate(-5deg); }
.custom-mark::before, .custom-mark::after { content: ""; position: absolute; border: 1px solid rgba(185,133,79,.5); border-radius: 50%; }
.custom-mark::before { inset: 12%; transform: rotate(17deg); }
.custom-mark::after { inset: 24%; background: var(--gold); }
.custom-mark span { position: relative; z-index: 2; display: block; font-size: 15px; font-weight: 700; }
.custom-copy { max-width: 650px; }
.custom-copy > p:not(.section-label) { margin-bottom: 0; font-size: 17px; line-height: 1.7; }
.custom-copy h2 + p { margin-top: 30px; }
.custom-copy > p:not(.section-label) + p:not(.section-label) { margin-top: 18px; }
.process-section { padding-block: 120px; }
.light-heading > p { color: var(--ink-muted); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); list-style: none; }
.process-grid li { padding: 30px 24px 34px; border-right: 1px solid var(--line); }
.process-grid li:first-child { padding-left: 0; }
.process-grid li:last-child { padding-right: 0; border-right: 0; }
.process-grid span { color: var(--gold); font-size: 12px; }
.process-grid h3 { margin: 20px 0 12px; font-size: 21px; line-height: 1.2; }
.process-grid p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.6; }
.who-section { padding-block: 120px; background: var(--aubergine-soft); color: var(--cream); }
.who-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.who-copy > p:not(.section-label) { margin-bottom: 0; color: var(--cream-muted); font-size: 17px; line-height: 1.65; }
.who-copy h2 + p { margin-top: 28px; }
.who-copy > p:not(.section-label) + p:not(.section-label) { margin-top: 16px; }
.who-copy .who-emphasis { color: var(--gold-light) !important; font-weight: 700; }
.quote-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(247,239,223,.2); }
.quote-list blockquote { margin: 0; padding: 22px 18px; border-right: 1px solid rgba(247,239,223,.2); border-bottom: 1px solid rgba(247,239,223,.2); font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.45; }
.quote-list blockquote:nth-child(even) { border-right: 0; }
.quote-list > p { grid-column: span 2; margin: 24px 0 0; color: var(--gold-light); font-weight: 700; }
.about-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 110px; align-items: center; padding-block: 120px; }
.about-mark { position: relative; height: 340px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); overflow: hidden; }
.about-mark::after { content: ""; position: absolute; inset: 18% 20%; border-radius: 50%; background: var(--gold); opacity: .75; }
.about-mark span { position: relative; z-index: 1; display: grid; place-items: center; font-family: Georgia, "Times New Roman", serif; font-size: clamp(90px,13vw,170px); color: var(--aubergine); }
.about-mark span + span { color: var(--gold); background: var(--aubergine); }
.about-copy { max-width: 670px; }
.about-copy > p:not(.section-label) { margin-bottom: 0; font-size: 17px; line-height: 1.7; }
.about-copy h2 + p { margin-top: 28px; }
.about-copy > p:not(.section-label) + p:not(.section-label) { margin-top: 16px; }
.about-copy .about-lead { font-size: 22px !important; color: var(--aubergine); }
.contact-section { padding-block: 120px; background: var(--aubergine); color: var(--cream); text-align: center; }
.contact-inner { max-width: 950px; }
.contact-inner h2 { max-width: 920px; margin-inline: auto; }
.contact-inner > p:not(.section-label) { max-width: 680px; margin: 18px auto 0; color: var(--cream-muted); font-size: 18px; line-height: 1.6; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.contact-email { display: inline-block; margin-top: 28px; color: var(--gold-light); font-size: 18px; }
footer { padding-block: 44px; background: #1b111f; color: var(--cream-muted); }
.footer-inner { display: grid; grid-template-columns: 220px 1fr auto; gap: 50px; align-items: center; }
.footer-inner img { width: 200px; height: auto; }
.footer-inner strong, .footer-inner span, .footer-contact a { display: block; }
.footer-inner strong { margin-bottom: 8px; color: var(--cream); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.footer-inner span, .footer-contact a { font-size: 13px; line-height: 1.7; }
.footer-contact { text-align: right; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--gold-light); }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-system { display: none; }
  .intro-grid, .custom-inner, .who-grid, .about-section { grid-template-columns: 1fr; gap: 55px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:first-child, .service-card:last-child { padding: 30px 0; border-right: 0; border-bottom: 1px solid rgba(247,239,223,.22); }
  .service-card:last-child { border-bottom: 0; }
  .service-card h3, .service-intro { min-height: 0; }
  .service-note { margin-top: 12px; }
  .custom-mark { max-width: 320px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid li, .process-grid li:first-child, .process-grid li:last-child { padding: 28px 24px; border-bottom: 1px solid var(--line); }
  .process-grid li:nth-child(even) { border-right: 0; }
  .about-mark { max-width: 520px; }
  .footer-inner { grid-template-columns: 180px 1fr; }
  .footer-inner img { width: 170px; }
  .footer-contact { grid-column: 2; text-align: left; }
}

@media (max-width: 700px) {
  .section-shell { width: min(100% - 40px,1176px); }
  .site-header { padding: 22px 20px; }
  .brand img { width: 175px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { padding: 138px 20px 70px; }
  .hero h1 { font-size: clamp(44px,12vw,60px); }
  .intro-section, .services-section, .custom-section, .process-section, .who-section, .about-section, .contact-section { padding-block: 82px; }
  .section-heading-row { grid-template-columns: 1fr; gap: 24px; }
  .process-grid, .quote-list { grid-template-columns: 1fr; }
  .process-grid li, .process-grid li:first-child, .process-grid li:last-child { padding-inline: 0; border-right: 0; }
  .quote-list blockquote, .quote-list blockquote:nth-child(even) { border-right: 0; }
  .quote-list > p { grid-column: auto; }
  .about-mark { height: 260px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 520px) {
  .brand img { width: 145px; }
  .nav-cta { padding: 10px 12px; font-size: 13px; }
  .hero h1 { font-size: 45px; }
  .hero-intro { font-size: 19px; }
  .hero-actions, .contact-actions { align-items: stretch; flex-direction: column; }
  .text-link { padding: 8px 0; }
  .button { width: 100%; }
  .intro-grid h2, .section-heading-row h2, .custom-copy h2, .who-copy h2, .about-copy h2, .contact-inner h2 { font-size: 39px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
