/* =========================================================
   TAMER CONSULTING – DARK PREMIUM
   Joomla 5 – template.css
   ========================================================= */

:root {
    --bg: #090e1b;
    --panel: #121a2b;
    --text: #f5f7ff;
    --muted: #a7b2c8;
    --line: #283249;
    --accent: #6f7bff;
    --accent2: #44d5f5;
    --max: 1180px;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 system-ui, -apple-system,
          BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: #aab4ff;
    text-decoration: none;
}

a:hover {
    color: white;
}

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

h1, h2, h3 {
    line-height: 1.15;
    letter-spacing: -.035em;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3.3rem);
}

h3 {
    font-size: 1.45rem;
}

p {
    color: var(--muted);
}

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

/* Accessibility */

.skip-link {
    position: absolute;
    top: -100px;
    left: 12px;
    z-index: 100;
    background: white;
    color: black;
    padding: 12px;
}

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

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: #0b1120ed;
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: white;
    font-size: .86rem;
    letter-spacing: .11em;
    font-weight: 800;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(140deg,#6479ff,#3bc7f0);
    font-size: 1.7rem;
    letter-spacing: -.1em;
}

.brand-mark span {
    color: #10172b;
}

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

.site-nav ul,
.footer-links ul {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav a {
    color: #d5def2;
    font-size: .94rem;
    font-weight: 600;
}

.site-nav a:hover,
.site-nav .current > a {
    color: white;
}

.nav-toggle {
    display: none;
}

/* Untermenüs */

.site-nav li {
    position: relative;
}

.site-nav li > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 12px;
    background: #141d30;
    border: 1px solid #34405a;
    border-radius: 12px;
    box-shadow: 0 18px 40px #0008;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
}

.site-nav li:hover > ul,
.site-nav li:focus-within > ul {
    display: flex;
}

.site-nav li > ul a {
    display: block;
    padding: 8px 12px;
    white-space: normal;
}

/* App-Menü */

.nav-apps {
    position: relative;
    white-space: nowrap;
}

.nav-apps > a {
    color: #b5c4ff;
}

.nav-apps-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 205px;
    background: #141d30;
    border: 1px solid #34405a;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 40px #0008;
    z-index: 35;
}

.nav-apps-menu a {
    display: block;
    padding: 9px 12px;
}

.nav-apps:hover .nav-apps-menu,
.nav-apps:focus-within .nav-apps-menu {
    display: block;
}

/* =========================================================
   HERO / STARTSEITE
   ========================================================= */

.hero {
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(ellipse at 78% 35%,#293a82 0%,transparent 42%),
        radial-gradient(ellipse at 5% 0%,#122e4d 0%,transparent 45%),
        #090e1b;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#ffffff08 1px,transparent 1px),
        linear-gradient(90deg,#ffffff08 1px,transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg,transparent,#000);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding-block: 118px 85px;
}

.eyebrow,
.kicker {
    color: #94b4ff;
    font-size: .77rem;
    letter-spacing: .2em;
    font-weight: 800;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #54e3ce;
    box-shadow: 0 0 0 5px #54e3ce20;
}

.hero h1 {
    max-width: 850px;
    margin: 22px 0 25px;
    background: linear-gradient(100deg,#fff 20%,#b6c0ff 70%,#6ed8f3);
    color: transparent;
    background-clip: text;
}

.hero-lead {
    max-width: 630px;
    font-size: 1.22rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 51px;
    padding: 12px 23px;
    border-radius: 11px;
    font-weight: 750;
}

.btn-primary {
    background: linear-gradient(110deg,#5868f5,#6d8efc);
    color: white;
    box-shadow: 0 12px 35px #4b59e33a;
}

.btn-outline {
    border: 1px solid #5d6987;
    color: white;
}

.hero-divider {
    height: 1px;
    background: #ffffff22;
    margin-top: 86px;
}

.hero-tags {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 22px;
    color: #98a7c0;
    font-size: .88rem;
}

/* =========================================================
   IOS APPS
   ========================================================= */

.apps-section {
    padding-block: 100px 110px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 38px;
}

.section-heading h2 {
    margin: 12px 0 5px;
}

.section-heading p {
    margin: 0;
}

.text-link {
    font-weight: 700;
    white-space: nowrap;
}

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

.app-card {
    overflow: hidden;
    background: #121a2b;
    border: 1px solid #2b3650;
    border-radius: 22px;
    transition: transform .25s,border-color .25s;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: #6477d0;
}

.app-art {
    height: 235px;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.app-kassilo .app-art {
    background: radial-gradient(circle at 50% 55%,#316dbe,#102b57 62%,#101a31);
}

.app-kartenlabor .app-art {
    background: radial-gradient(circle at 50% 55%,#aa5de8,#40236e 65%,#18142c);
}

.app-crazy .app-art {
    background: radial-gradient(circle at 50% 55%,#d99539,#70412c 62%,#281a20);
}

.art-emoji {
    font-size: 5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 0 10px 30px #0006;
}

.art-orbit {
    position: absolute;
    width: 210px;
    height: 210px;
    border: 1px solid #ffffff33;
    border-radius: 50%;
    box-shadow: 0 0 0 32px #ffffff08,0 0 0 65px #ffffff07;
}

.app-icon {
    width: 156px;
    height: 156px;
    object-fit: cover;
    border-radius: 34px;
    box-shadow: 0 18px 45px #0008;
    position: relative;
    z-index: 1;
    transition: transform .3s;
}

.app-card:hover .app-icon {
    transform: translateY(-6px) scale(1.035);
}

.app-content {
    padding: 27px;
}

.app-type {
    color: #92a3cb;
    font-size: .7rem;
    letter-spacing: .18em;
    font-weight: 800;
}

.app-content h3 {
    margin: 9px 0;
}

.app-content p {
    min-height: 78px;
    margin: 0 0 20px;
}

.app-content a {
    font-weight: 750;
}

.app-detail-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
    margin-top: 24px;
}

.app-detail-grid > div {
    padding: 24px;
    border: 1px solid #283550;
    background: #0f1728;
    border-radius: 18px;
}

.app-detail-grid h3 {
    margin: 0 0 10px;
    font-size: 1.15rem;
}

.app-detail-grid p {
    margin: 0;
}

#ios-apps,
#kassilo,
#kartenlabor,
#crazy-wissen {
    scroll-margin-top: 105px;
}

/* Produktseiten */

.app-product {
    padding-top: 100px;
    padding-bottom: 110px;
    min-height: 70vh;
}

.product-hero {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: center;
    gap: 65px;
    padding: 65px 0;
}

.product-hero img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 48px;
    box-shadow: 0 24px 70px #0009;
}

.product-hero h1 {
    font-size: clamp(2.5rem,6vw,5rem);
    margin: 12px 0;
}

.product-hero p {
    max-width: 700px;
    line-height: 1.8;
}

.product-note {
    border-top: 1px solid #34415d;
    padding-top: 22px;
    color: #aebbd3;
}

/* =========================================================
   CONSULTING / LEISTUNGEN
   ========================================================= */

.services-band {
    padding: 95px 0;
    background: #10182a;
    border-block: 1px solid #26304a;
}

.services-band h2 {
    margin: 12px 0 45px;
}

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

.service-grid > div {
    padding-top: 23px;
    border-top: 1px solid #42506b;
}

.service-index {
    color: #8695ff;
    font-size: .8rem;
}

.service-grid h3 {
    margin: 15px 0 10px;
}

/* Joomla-Beiträge */

.main-content {
    padding-block: 55px 80px;
    min-height: 30vh;
}

.home-content {
    padding-block: 35px;
}

.content-layout {
    display: flex;
    gap: 40px;
}

.content-primary {
    flex: 1;
    min-width: 0;
}

.content-sidebar {
    width: 280px;
    max-width: 30%;
}

.editorial-article {
    max-width: 960px;
    margin: 0 auto;
    padding: 26px 0 65px;
}

.editorial-article h1 {
    max-width: 850px;
    margin: 12px 0 35px;
    background: linear-gradient(105deg,#fff,#b5c2ff);
    color: transparent;
    background-clip: text;
}

.editorial-article h2 {
    margin: 45px 0 12px;
    color: #f7f9ff;
}

.editorial-article p {
    font-size: 1.09rem;
    line-height: 1.9;
    max-width: 800px;
}

.editorial-article h2:not(:first-of-type) {
    border-top: 1px solid #29344e;
    padding-top: 34px;
}

.editorial-cta {
    margin-top: 58px !important;
    padding: 26px 30px;
    background: linear-gradient(115deg,#17284d,#18213b);
    border: 1px solid #455987;
    border-radius: 18px;
}

.editorial-cta a {
    font-weight: 800;
    color: #c7d6ff;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    border-top: 1px solid #28334c;
    background: #0b1020;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    padding-block: 42px;
}

.footer-brand {
    font-weight: 850;
    letter-spacing: .1em;
}

.footer-inner p {
    margin: 4px 0;
}

.copyright {
    color: #8593ae;
    font-size: .85rem;
}

.footer-links a {
    color: #cbd4e8;
}

.legal-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 22px;
}

.legal-nav a {
    color: #b8c8e5;
}

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

.module-zone {
    padding-top: 35px;
}

/* Formulare */

input,
textarea,
select,
button {
    font: inherit;
}

input,
textarea,
select {
    max-width: 100%;
    background: #151e32;
    color: white;
    border: 1px solid #46516d;
    border-radius: 8px;
    padding: 10px;
}

button {
    cursor: pointer;
}

table {
    max-width: 100%;
    display: block;
    overflow-x: auto;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #7be0ff;
    outline-offset: 4px;
}

/* =========================================================
   TYPOGRAFIE – CONSULTING-UNTERSEITEN
   ========================================================= */

body .tc-service h1,
body .editorial-article h1 {
    font-size: 44px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
}

body .tc-service h2,
body .editorial-article h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.3px !important;
}

body .tc-service h3,
body .editorial-article h3 {
    font-size: 21px !important;
    line-height: 1.4 !important;
}

body .tc-service p,
body .editorial-article p {
    font-size: 16px;
    line-height: 1.8;
    color: #bdc9df;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: 1px solid #536079;
        border-radius: 10px;
        width: 46px;
        height: 44px;
        padding: 10px;
    }

    .nav-toggle span {
        height: 2px;
        width: 100%;
        background: white;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #101a2b;
        padding: 22px;
        box-shadow: 0 20px 35px #0008;
    }

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

    .site-nav ul {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 18px;
    }

    .site-nav > a {
        display: block;
        padding: 8px 0;
    }

    .site-nav li > ul {
        display: flex;
        position: static;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 4px 0 4px 18px;
        min-width: 0;
    }

    .site-nav li > ul a {
        padding: 4px 0;
    }

    .nav-apps {
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid #33405a;
    }

    .nav-apps-menu {
        display: block;
        position: static;
        border: 0;
        box-shadow: none;
        background: transparent;
        padding-left: 14px;
    }

    .app-grid,
    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-inner {
        padding-block: 88px 65px;
    }

    .content-sidebar {
        width: 220px;
    }
}

@media (max-width: 768px) {
    body .tc-service h1,
    body .editorial-article h1 {
        font-size: 32px !important;
    }

    body .tc-service h2,
    body .editorial-article h2 {
        font-size: 24px !important;
    }

    .product-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 0;
    }

    .product-hero img {
        width: 145px;
        height: 145px;
        border-radius: 30px;
    }

    .app-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(var(--max),calc(100% - 32px));
    }

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

    .brand {
        font-size: .76rem;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .hero-inner {
        padding-block: 74px 48px;
    }

    .hero h1 {
        font-size: clamp(2.6rem,11vw,4rem);
    }

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

    .hero-divider {
        margin-top: 60px;
    }

    .hero-tags {
        gap: 10px 20px;
    }

    .apps-section {
        padding-block: 65px;
    }

    .section-heading {
        display: block;
    }

    .text-link {
        display: inline-block;
        margin-top: 20px;
    }

    .app-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .app-art {
        height: 185px;
    }

    .app-content p {
        min-height: 0;
    }

    .services-band {
        padding: 65px 0;
    }

    .content-layout {
        display: block;
    }

    .content-sidebar {
        max-width: 100%;
        width: 100%;
    }

    .footer-inner {
        display: block;
    }

    .footer-links {
        margin-block: 20px;
    }

    .footer-links ul {
        flex-wrap: wrap;
    }

    .copyright {
        margin-top: 20px;
    }
}

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

/* =========================================================
   TEMPORÄRER TEST – NACH DEM TEST ENTFERNEN
   ========================================================= */


/* Original Tamer Consulting Logo im Header */

.site-header .brand-logo {
    display: block;
    width: auto;
    height: 44px;
    max-width: 240px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-header .brand-logo {
        height: 36px;
        max-width: 190px;
    }
}



/* Tamer Consulting – Header-Logo weiter vergrößern */

.site-header .brand-logo {
    width: 520px !important;
    height: 76px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: left center !important;
}

@media (max-width: 768px) {
    .site-header .brand-logo {
        width: 280px !important;
        height: 50px !important;
        max-width: 100% !important;
    }
}


/* Startseite: Unterlängen großer Überschriften nicht abschneiden */

.hero h1,
.hero-title {
    line-height: 1.18 !important;
    padding-bottom: 0.12em !important;
    overflow: visible !important;
}


/* ==========================================
   TAMER CONSULTING – KONTAKTFORMULAR
   DARK PREMIUM DESIGN
   ========================================== */

/* Gesamter Kontaktbereich */
.com-contact {
    max-width: 1120px;
    margin: 0 auto;
    padding: 45px 0 90px;
}

/* Kontaktüberschriften */
.com-contact h1,
.com-contact h2,
.com-contact h3 {
    color: #f4f6ff;
    letter-spacing: -0.025em;
}

.com-contact h1 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.15;
    margin-bottom: 24px;
}

/* Formularüberschrift */
.com-contact .contact-form h3,
.com-contact #contact-form legend {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

/* Formular als moderne Karte */
.com-contact .contact-form form,
.com-contact #contact-form {
    background: linear-gradient(
        145deg,
        #141e33,
        #0e1628
    );
    border: 1px solid rgba(140, 160, 210, 0.18);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

/* Alte Fieldset-Rahmen entfernen */
.com-contact #contact-form fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

/* Eingabefelder gleichmäßig verteilen */
.com-contact #contact-form .control-group {
    margin-bottom: 22px;
}

/* Beschriftungen */
.com-contact #contact-form label {
    display: block;
    color: #dce5ff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 9px;
}

/* Eingabefelder und Textbereich */
.com-contact #contact-form input[type="text"],
.com-contact #contact-form input[type="email"],
.com-contact #contact-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #0b1324;
    border: 1px solid #35435f;
    border-radius: 11px;
    color: #ffffff;
    padding: 15px 17px;
    font: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.com-contact #contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

/* Fokus */
.com-contact #contact-form input:focus,
.com-contact #contact-form textarea:focus {
    border-color: #718bff;
    box-shadow: 0 0 0 3px rgba(99, 124, 255, 0.16);
}

/* Absenden-Button */
.com-contact #contact-form button[type="submit"],
.com-contact #contact-form .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #635bff, #6489ff);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.com-contact #contact-form button[type="submit"]:hover,
.com-contact #contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(99, 124, 255, 0.25);
}

/* Mobilgeräte */
@media (max-width: 768px) {
    .com-contact {
        padding: 25px 0 55px;
    }

    .com-contact .contact-form form,
    .com-contact #contact-form {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .com-contact #contact-form button[type="submit"] {
        width: 100%;
    }
}

/* ==========================================
   TAMER CONSULTING
   ERFAHRUNG & REFERENZEN – DARK PREMIUM
   ========================================== */

.tc-references {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 35px 0 80px;
    color: #c4cee2;
}

.tc-references,
.tc-references * {
    box-sizing: border-box;
}

/* Einleitung und Überschriften */

.tc-references .ref-kicker {
    display: inline-block;
    color: #94aaff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.tc-references h1 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.15;
    margin: 20px 0 24px;
    color: #f5f7ff;
    letter-spacing: -0.03em;
}

.tc-references h2 {
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.25;
    color: #f5f7ff;
    margin: 55px 0 20px;
    letter-spacing: -0.02em;
}

.tc-references h3 {
    color: #ffffff;
    font-size: 21px;
    line-height: 1.35;
    margin: 0 0 14px;
}

.tc-references p {
    line-height: 1.8;
    margin: 0 0 18px;
    overflow-wrap: break-word;
}

.tc-references .ref-intro {
    max-width: 850px;
    font-size: 18px;
    color: #b9c8e5;
}

/* Kennzahlen */

.tc-references .ref-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 38px 0 50px;
}

.tc-references .ref-stat {
    min-width: 0;
    padding: 25px 20px;
    background: linear-gradient(
        145deg,
        #17233b,
        #10192c
    );
    border: 1px solid rgba(140, 160, 220, 0.17);
    border-radius: 16px;
}

.tc-references .ref-stat strong {
    display: block;
    font-size: 25px;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 8px;
}

.tc-references .ref-stat span {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    color: #aebfdd;
}

/* Referenzkarten */

.tc-references .ref-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.tc-references .ref-card {
    min-width: 0;
    background: linear-gradient(
        145deg,
        #141e32,
        #0e1729
    );
    border: 1px solid rgba(140, 160, 220, 0.17);
    border-radius: 18px;
    padding: 30px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.tc-references .ref-card:hover {
    transform: translateY(-4px);
    border-color: rgba(140, 160, 255, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.tc-references .ref-card .ref-category {
    display: block;
    color: #95aaff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.tc-references .ref-tech {
    color: #a5b7ff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    margin-top: 20px;
}

/* Hervorgehobener iOS-Bereich */

.tc-references .ref-highlight {
    background: linear-gradient(
        135deg,
        #182744,
        #101a30
    );
    border: 1px solid rgba(120, 145, 255, 0.25);
    border-radius: 20px;
    padding: 34px;
    margin-top: 28px;
}

.tc-references .ref-highlight h3 {
    font-size: 25px;
    margin-top: 16px;
    margin-bottom: 18px;
}

/* Buttons */

.tc-references .ref-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 15px 24px;
    margin-top: 12px;
    background: linear-gradient(
        135deg,
        #635bff,
        #6489ff
    );
    color: #ffffff !important;
    text-decoration: none !important;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.tc-references .ref-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 124, 255, 0.25);
    color: #ffffff !important;
}

/* Vertraulichkeitshinweis */

.tc-references .ref-note {
    font-size: 13px;
    color: #8fa0be;
    margin-top: 30px;
}

/* Tablet */

@media (max-width: 900px) {
    .tc-references .ref-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphone */

@media (max-width: 650px) {
    .tc-references {
        padding: 20px 0 55px;
    }

    .tc-references h1 {
        font-size: 36px;
    }

    .tc-references h2 {
        margin-top: 40px;
        font-size: 26px;
    }

    .tc-references .ref-grid {
        grid-template-columns: 1fr;
    }

    .tc-references .ref-card,
    .tc-references .ref-highlight {
        padding: 22px;
    }

    .tc-references .ref-stat {
        padding: 20px 15px;
    }

    .tc-references .ref-stat strong {
        font-size: 21px;
    }

    .tc-references .ref-intro {
        font-size: 16px;
    }

    .tc-references .ref-button {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tc-references .ref-card,
    .tc-references .ref-button {
        transition: none;
    }

    .tc-references .ref-card:hover,
    .tc-references .ref-button:hover {
        transform: none;
    }
}

/* STARTSEITE – LEISTUNGSKARTEN */

body .tc-home .tc-home-services .ref-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin-top: 35px;
}

body .tc-home .tc-home-services .ref-card {
    display: block;
    padding: 32px !important;
    background: linear-gradient(
        145deg,
        #172540 0%,
        #101a30 100%
    ) !important;
    border: 1px solid rgba(130, 155, 255, 0.22) !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s, border-color 0.25s;
}

body .tc-home .tc-home-services .ref-card:hover {
    transform: translateY(-5px);
    border-color: rgba(130, 155, 255, 0.55) !important;
}

body .tc-home .tc-home-services .ref-category {
    display: block;
    color: #91aaff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

body .tc-home .tc-home-services .ref-card h3 {
    color: #ffffff !important;
    font-size: 22px;
    margin: 0 0 14px;
}

body .tc-home .tc-home-services .ref-card p {
    color: #becbe4 !important;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 768px) {
    body .tc-home .tc-home-services .ref-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ERFAHRUNG – HERVORGEHOBENER BEREICH */

body .tc-home .tc-home-experience {
    display: block !important;
    margin: 65px 0 35px !important;
    padding: 48px !important;
    background: linear-gradient(
        135deg,
        #1b2b4c,
        #111b31
    ) !important;
    border: 1px solid rgba(130, 155, 255, 0.3) !important;
    border-radius: 22px !important;
}

body .tc-home .tc-home-experience h2 {
    margin: 20px 0 !important;
}

body .tc-home .tc-home-experience p {
    max-width: 850px;
    line-height: 1.8;
}

/* KONTAKT – ABSCHLUSSBEREICH */

body .tc-home .tc-home-contact {
    display: block !important;
    margin: 40px 0 70px !important;
    padding: 60px 35px !important;
    text-align: center !important;
    background: linear-gradient(
        135deg,
        rgba(65, 80, 170, 0.16),
        rgba(30, 45, 90, 0.1)
    ) !important;
    border: 1px solid rgba(130, 155, 255, 0.15);
    border-radius: 22px;
}

body .tc-home .tc-home-contact h2 {
    margin: 20px 0 !important;
}

body .tc-home .tc-home-contact p {
    max-width: 680px;
    margin: 0 auto 24px !important;
}

/* BUTTONS IN BEIDEN BEREICHEN */

body .tc-home .tc-home-experience a.ref-button,
body .tc-home .tc-home-contact a.ref-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 18px;
    padding: 14px 25px !important;
    color: #ffffff !important;
    background: linear-gradient(
        135deg,
        #625bff,
        #6589ff
    ) !important;
    border: 0 !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(85, 105, 240, 0.18);
}

body .tc-home .tc-home-experience a.ref-button:hover,
body .tc-home .tc-home-contact a.ref-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(85, 105, 240, 0.3);
}

/* MOBILE */

@media (max-width: 768px) {
    body .tc-home .tc-home-experience {
        padding: 30px 24px !important;
        margin-top: 40px !important;
    }

    body .tc-home .tc-home-contact {
        padding: 40px 24px !important;
        margin-bottom: 45px !important;
    }
}

/* STARTSEITE – HERO UND APP-BEREICH KOMPAKTER */

body.is-home .tc-home .tc-home-intro {
    padding-bottom: 35px !important;
}

body.is-home .tc-home .apps-section {
    padding-top: 20px !important;
}


/* PORTRAIT – STARTSEITE */

.tc-home .tc-experience-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    gap: 50px;
}

.tc-home .tc-experience-text {
    min-width: 0;
}

.tc-home .tc-experience-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(140, 165, 255, 0.45);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
}

.tc-home .tc-experience-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

@media (max-width: 768px) {
    .tc-home .tc-experience-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tc-home .tc-experience-photo {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
}

/* ÜBER UNS – PORTRÄT UND TEXT NEBENEINANDER */

body .tc-about-premium .tc-about-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 260px !important;
    align-items: center !important;
    gap: 45px !important;
    width: 100%;
}

body .tc-about-premium .tc-about-hero-text {
    min-width: 0;
}

body .tc-about-premium .tc-about-hero-photo {
    width: 260px !important;
    height: 260px !important;
    max-width: 260px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 3px solid rgba(140, 165, 255, 0.5);
    justify-self: end;
}

body .tc-about-premium .tc-about-hero-photo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    border-radius: 0 !important;
}

@media (max-width: 768px) {
    body .tc-about-premium .tc-about-hero {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    body .tc-about-premium .tc-about-hero-photo {
        width: 220px !important;
        height: 220px !important;
        max-width: 220px !important;
        justify-self: center;
    }
}

/* ÜBER UNS – ABSTÄNDE DER INHALTSABSCHNITTE */

body .tc-about-premium .tc-about-hero {
    margin-bottom: 45px !important;
}

body .tc-about-premium .tc-about-section {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
    border-top: 1px solid rgba(130, 155, 255, 0.18);
}

/* STARTSEITE – IOS-APP-KARTEN KOMPAKTER */

.tc-home .app-card .app-art {
    height: 170px !important;
    min-height: 170px !important;
}

.tc-home .app-card .app-icon {
    width: 125px !important;
    height: 125px !important;
    object-fit: contain;
}

@media (max-width: 768px) {
    .tc-home .app-card .app-art {
        height: 155px !important;
        min-height: 155px !important;
    }
}

/* IOS-APPS ALS FÜNFTE LEISTUNG */

.tc-home .tc-ios-service-card {
    grid-column: 1 / -1;
}

.tc-home .tc-ios-app-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 28px;
    margin: 28px 0 20px;
}

.tc-home .tc-ios-app-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #dce6ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.tc-home .tc-ios-app-icons img {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.tc-home .tc-ios-app-icons a:hover img {
    transform: translateY(-4px);
}

.tc-home .tc-ios-all-link {
    display: inline-block;
    margin-top: 8px;
    color: #a4b7ff;
    font-weight: 700;
    text-decoration: none;
}

.tc-home .tc-ios-all-link:hover {
    color: #ffffff;
}

@media (max-width: 600px) {
    .tc-home .tc-ios-app-icons {
        gap: 18px;
        justify-content: space-around;
    }

    .tc-home .tc-ios-app-icons img {
        width: 70px;
        height: 70px;
    }

    .tc-home .tc-ios-app-icons a {
        font-size: 12px;
    }
}

/* IOS-APPS – GRÖSSERE ICONS */

body .tc-home .tc-ios-app-icons {
    gap: 45px !important;
    margin-top: 35px !important;
    margin-bottom: 25px !important;
}

body .tc-home .tc-ios-app-icons img {
    width: 140px !important;
    height: 140px !important;
    border-radius: 28px;
    object-fit: contain;
}

body .tc-home .tc-ios-app-icons a {
    font-size: 16px !important;
    gap: 14px !important;
}

/* SMARTPHONES */

@media (max-width: 600px) {
    body .tc-home .tc-ios-app-icons {
        gap: 15px !important;
        justify-content: space-around;
    }

    body .tc-home .tc-ios-app-icons img {
        width: clamp(70px, 23vw, 100px) !important;
        height: clamp(70px, 23vw, 100px) !important;
    }

    body .tc-home .tc-ios-app-icons a {
        font-size: 12px !important;
    }
}
